summaryrefslogtreecommitdiff
path: root/.mutt
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-02-20 15:18:02 -0600
committerDanny Holman <dholman@gymli.org>2025-02-20 15:18:02 -0600
commita27e83028b7943d26d881564ed446a2a4d374fed (patch)
tree017ffe78defa27275790c82249a581aef5d9eca6 /.mutt
parentUpdate old email in git (diff)
downloaddotfiles-a27e83028b7943d26d881564ed446a2a4d374fed.tar.gz
dotfiles-a27e83028b7943d26d881564ed446a2a4d374fed.tar.zst
dotfiles-a27e83028b7943d26d881564ed446a2a4d374fed.zip
Update to 02/20/25
Diffstat (limited to '')
-rw-r--r--.mutt/colors16
-rw-r--r--.mutt/gymli9
-rw-r--r--.mutt/mailcap5
-rw-r--r--.mutt/tech16
-rw-r--r--.muttrc49
5 files changed, 38 insertions, 57 deletions
diff --git a/.mutt/colors b/.mutt/colors
new file mode 100644
index 0000000..3f1c7ff
--- /dev/null
+++ b/.mutt/colors
@@ -0,0 +1,16 @@
+color hdrdefault blue black
+color quoted blue black
+color signature blue black
+color attachment red black
+color prompt brightmagenta black
+color message brightred black
+color error brightred black
+color indicator black red
+color status brightgreen blue
+color tree white black
+color normal white black
+color markers red black
+color search white black
+color tilde brightmagenta black
+color index blue black ~F
+color index red black "~N|~O"
diff --git a/.mutt/gymli b/.mutt/gymli
index e736530..7d99b87 100644
--- a/.mutt/gymli
+++ b/.mutt/gymli
@@ -1,12 +1,13 @@
## IMAP
-set imap_user = dholman
-set imap_pass = `pass gymli.org/mail/dholman`
-set folder = imaps://mail.gymli.org
+set mbox_type = Maildir
+set folder = ~/.mail/Private
set spoolfile = +INBOX
+set header_cache = ~/.cache/mutt
set postponed = +Drafts
set record = +Sent
+set trash = +Trash
unmailboxes *
-mailboxes =INBOX =Sent =Trash =Drafts =Junk =Archive
+mailboxes =INBOX =Sent =Trash =Drafts =Junk =Archive =INBOX.lists
## SMTP
set from = dholman@gymli.org
diff --git a/.mutt/mailcap b/.mutt/mailcap
index 57eaea5..04e1ac4 100644
--- a/.mutt/mailcap
+++ b/.mutt/mailcap
@@ -1,2 +1,3 @@
-text/html; w3m -I %{charset} -T text/html; copiousoutput;
-application/pdf; xpdf %s
+text/html; w3m %s; nametemplate=%s.html; needsterminal
+text/html; w3m -v -F -T text/html -dump %s; copiousoutput
+application/pdf; zathura %s
diff --git a/.mutt/tech b/.mutt/tech
deleted file mode 100644
index aba2a8b..0000000
--- a/.mutt/tech
+++ /dev/null
@@ -1,16 +0,0 @@
-## IMAP
-set imap_user = dsholman42@tntech.edu
-set imap_pass = `pass tntech.edu/dsholman42`
-set folder = imaps://outlook.office365.com
-set spoolfile = +INBOX
-set postponed = +Drafts
-set record = "+Sent Items"
-unmailboxes *
-mailboxes =INBOX =Archive "=Junk Email" =Drafts "=Sent Items" "=Deleted Items"
-
-## SMTP
-set from = $imap_user
-set sendmail = "/usr/bin/msmtp -a ttu -t"
-
-## Hook
-account-hook $folder "set imap_user=dsholman42@tntech.edu imap_pass=`pass tntech.edu/dsholman42`"
diff --git a/.muttrc b/.muttrc
index 8864d85..cf67006 100644
--- a/.muttrc
+++ b/.muttrc
@@ -7,17 +7,18 @@ alternative_order text/enriched text/plain text/html text
auto_view text/html
set header_cache = "~/.cache/mutt"
set message_cachedir = "~/.cache/mutt"
-unset imap_passive
-set imap_keepalive = 300
-set mail_check = 120
-# Tennesee Tech Email
-source "~/.mutt/tech"
-folder-hook $folder 'source ~/.mutt/tech'
+# Sidebar
+set sidebar_visible = yes
+set sidebar_width = 22
+set sidebar_short_path = yes
+set sidebar_next_new_wrap = yes
+set mail_check_stats
+set sidebar_format = '%D %> %N/%S'
-# Gymli Email
-source "~/.mutt/gymli"
-folder-hook $folder 'source ~/.mutt/gymli'
+# Accounts
+source ~/.mutt/gymli
+folder-hook $folder "source ~/.mutt/gymli"
# PGP
set pgp_replyencrypt
@@ -29,38 +30,16 @@ set pgp_sign_as=3A96DA398EA604CE6863E993A89F222F433C2057
source ~/.gpg.rc
# Keybinds
-bind index ^ imap-fetch-mail
bind index - collapse-thread
bind index _ collapse-all
+bind index,pager B sidebar-toggle-visible
# Macros
macro pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
macro index,pager S "<save-message>=INBOX.Spam<enter><enter-command>echo 'Saved to INBOX.Spam'<enter>" 'Mark message as Spam'
macro index,pager H "<save-message>=INBOX.Ham<enter><enter-command>echo 'Saved to INBOX.Ham'<enter>" 'Mark message as Ham'
macro index,pager A "<save-message>=Archive<enter><enter-command>echo 'Saved to Archive'<enter>" 'Move message to archives'
-macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.mutt/gymli<enter><change-folder>!<enter>
-macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.mutt/tech<enter><change-folder>!<enter>
+macro index,pager <f2> "<sync-mailbox><enter-command>source ~/.mutt/gymli<enter><change-folder>!<enter>"
+macro index,pager <f3> "<sync-mailbox><enter-command>source ~/.mutt/ttu<enter><change-folder>!<enter>"
-# -*-muttrc-*-
-
-# Palette for use with the Linux console. Black background.
-
-color hdrdefault blue black
-color quoted blue black
-color signature blue black
-color attachment red black
-color prompt brightmagenta black
-color message brightred black
-color error brightred black
-color indicator black red
-color status brightgreen blue
-color tree white black
-color normal white black
-color markers red black
-color search white black
-color tilde brightmagenta black
-color index blue black ~F
-color index red black "~N|~O"
-
-# color body brightwhite black '\*+[^*]+\*+'
-# color body brightwhite black '_+[^_]+_+'
+source "~/.mutt/colors"