Commit 09cb0fb
xxwhirlpool
·
2026-06-08 20:17:53 -0400 EDT
parent 4d9d271
neomutt
4 files changed,
+134,
-0
+34,
-0
| ... | ... | @@ -0,0 +1,34 @@ | |
| 1 | + | color normal default default # Text is "Text" | |
| 2 | + | color index color2 default ~N # New Messages are Green | |
| 3 | + | color index color1 default ~F # Flagged messages are Red | |
| 4 | + | color index color13 default ~T # Tagged Messages are Red | |
| 5 | + | color index color1 default ~D # Messages to delete are Red | |
| 6 | + | color attachment color5 default # Attachments are Pink | |
| 7 | + | color signature color8 default # Signatures are Surface 2 | |
| 8 | + | color search color4 default # Highlighted results are Blue | |
| 9 | + | ||
| 10 | + | color indicator default color8 # currently highlighted message Surface 2=Background Text=Foreground | |
| 11 | + | color error color1 default # error messages are Red | |
| 12 | + | color status color15 default # status line "Subtext 0" | |
| 13 | + | color tree color15 default # thread tree arrows Subtext 0 | |
| 14 | + | color tilde color15 default # blank line padding Subtext 0 | |
| 15 | + | ||
| 16 | + | color hdrdefault color13 default # default headers Pink | |
| 17 | + | color header color13 default "^From:" | |
| 18 | + | color header color13 default "^Subject:" | |
| 19 | + | ||
| 20 | + | color quoted color15 default # Subtext 0 | |
| 21 | + | color quoted1 color7 default # Subtext 1 | |
| 22 | + | color quoted2 color8 default # Surface 2 | |
| 23 | + | color quoted3 color0 default # Surface 1 | |
| 24 | + | color quoted4 color0 default | |
| 25 | + | color quoted5 color0 default | |
| 26 | + | ||
| 27 | + | color body color2 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses Green | |
| 28 | + | color body color2 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs Green | |
| 29 | + | color body color4 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text Blue | |
| 30 | + | color body color4 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text Blue | |
| 31 | + | color body color4 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text Blue | |
| 32 | + | ||
| 33 | + | color sidebar_flagged color1 default # Mailboxes with flagged mails are Red | |
| 34 | + | color sidebar_new color10 default # Mailboxes with new mail are Green |
+7,
-0
| ... | ... | @@ -0,0 +1,7 @@ | |
| 1 | + | text/html; librewolf %s; test=test -n "$display"; needsterminal; | |
| 2 | + | text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump -width=1024 %s; nametemplate=%s.html; copiousoutput; | |
| 3 | + | text/plain; cat %s; copiousoutput | |
| 4 | + | application/pdf; zathura %s; test=test -n "$display"; needsterminal; | |
| 5 | + | image/*; kitty +kitten icat '%s'; test=test -n "$DISPLAY"; needsterminal; | |
| 6 | + | video/*; setsid mpv --quiet %s &; copiousoutput | |
| 7 | + | audio/*; mpv %s ; |
+33,
-0
| ... | ... | @@ -0,0 +1,33 @@ | |
| 1 | + | # sources | |
| 2 | + | source $XDG_CONFIG_HOME/mutt/colors.muttrc | |
| 3 | + | source $XDG_CONFIG_HOME/mutt/settings.muttrc | |
| 4 | + | ||
| 5 | + | # user | |
| 6 | + | set from = "melodicake@disroot.org" | |
| 7 | + | set realname = "kat cain" | |
| 8 | + | ||
| 9 | + | # smtp stuff | |
| 10 | + | set imap_user = "melodicake@disroot.org" | |
| 11 | + | set smtp_url = "smtps://melodicake@disroot.org@disroot.org:465/" | |
| 12 | + | set smtp_authenticators = "login" | |
| 13 | + | set imap_pass = "`pass show personal/melodicake_disroot`" | |
| 14 | + | set smtp_pass = "`pass show personal/melodicake_disroot`" | |
| 15 | + | ||
| 16 | + | # tls | |
| 17 | + | set ssl_starttls = yes | |
| 18 | + | set ssl_force_tls = yes | |
| 19 | + | ||
| 20 | + | # mailboxes | |
| 21 | + | set folder = "imaps://disroot.org:993" | |
| 22 | + | set spoolfile = "+INBOX" | |
| 23 | + | set postponed = "+Drafts" | |
| 24 | + | set record = "+Sent" | |
| 25 | + | set trash = "+Trash" | |
| 26 | + | ||
| 27 | + | mailboxes =Archive =Drafts =Sent =Junk =Trash | |
| 28 | + | ||
| 29 | + | # where the stuff goes | |
| 30 | + | set header_cache = "$XDG_CACHE_HOME/mutt/headers" | |
| 31 | + | set message_cachedir = "$XDG_CACHE_HOME/mutt/bodies" | |
| 32 | + | set certificate_file = "$XDG_CACHE_HOME/mutt/certificates" | |
| 33 | + | unset record |
+60,
-0
| ... | ... | @@ -0,0 +1,60 @@ | |
| 1 | + | # settings | |
| 2 | + | set pager_index_lines = 10 | |
| 3 | + | set pager_context = 3 # show 3 lines of context | |
| 4 | + | set pager_stop # stop at end of message | |
| 5 | + | set menu_scroll # scroll menu | |
| 6 | + | set tilde # use ~ to pad mutt | |
| 7 | + | set move=no # don't move messages when marking as read | |
| 8 | + | set mail_check = 30 # check for new mail every 30 seconds | |
| 9 | + | set imap_keepalive = 900 # 15 minutes | |
| 10 | + | set sleep_time = 0 # don't sleep when idle | |
| 11 | + | set wait_key = no # mutt won't ask "press key to continue" | |
| 12 | + | set envelope_from # which from? | |
| 13 | + | set edit_headers # show headers when composing | |
| 14 | + | set fast_reply # skip to compose when replying | |
| 15 | + | set askcc # ask for CC: | |
| 16 | + | set fcc_attach # save attachments with the body | |
| 17 | + | set forward_format = "Fwd: %s" # format of subject when forwarding | |
| 18 | + | set forward_decode # decode when forwarding | |
| 19 | + | set forward_quote # include message in forwards | |
| 20 | + | set mime_forward # forward attachments as part of body | |
| 21 | + | set attribution = "On %d, %n wrote:" # format of quoting header | |
| 22 | + | set reply_to # reply to Reply to: field | |
| 23 | + | set reverse_name # reply as whomever it was to | |
| 24 | + | set include # include message in replies | |
| 25 | + | set text_flowed=yes # correct indentation for plain text | |
| 26 | + | unset sig_dashes # no dashes before sig | |
| 27 | + | unset markers | |
| 28 | + | ||
| 29 | + | set editor = "micro" | |
| 30 | + | ||
| 31 | + | # sort by new convo/email first | |
| 32 | + | set charset = "utf-8" | |
| 33 | + | set uncollapse_jump | |
| 34 | + | set sort_re | |
| 35 | + | set sort = reverse-threads | |
| 36 | + | set sort_aux = last-date-received | |
| 37 | + | ||
| 38 | + | # how we reply & quote emails | |
| 39 | + | set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*" | |
| 40 | + | set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" | |
| 41 | + | set send_charset = "utf-8:iso-8859-1:us-ascii" # send in utf-8 | |
| 42 | + | ||
| 43 | + | # sidebar | |
| 44 | + | set sidebar_visible # comment to disable sidebar by default | |
| 45 | + | set sidebar_short_path | |
| 46 | + | set sidebar_folder_indent | |
| 47 | + | set sidebar_format = "%B %* [%?N?%N / ?%S]" | |
| 48 | + | set mail_check_stats | |
| 49 | + | bind index,pager \CJ sidebar-prev | |
| 50 | + | bind index,pager \CK sidebar-next | |
| 51 | + | bind index,pager \CE sidebar-open | |
| 52 | + | bind index,pager B sidebar-toggle-visible | |
| 53 | + | ||
| 54 | + | # mailcap file | |
| 55 | + | set mailcap_path = "$XDG_CONFIG_HOME/mutt/mailcap" | |
| 56 | + | # open attachments with mailcap with <return> | |
| 57 | + | bind attach <return> view-mailcap | |
| 58 | + | # save attachments to a folder | |
| 59 | + | macro attach s '<save-entry> <bol>~/Documents/Email/attachments/<eol>' 'save attachment' | |
| 60 | + | auto_view text/html # automatically show html (mailcap uses lynx) |