Commit 09cb0fb

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