# Filename: ~/.config/mutt/themes/gruuuvybox.muttrc # Purpose: Theme for mutt # Authors: Dennis Eriksen # Some parts have been shamelessly stolen from other places. # These parts will normally have a comment saying where it's # from. For instance, this header format is stolen from the # GRML-team (grml.org). # Bug-Reports: Email # License: This file is licensed under the GPL v3 (as the original file # had that license). ################################################################################ # This file is based on # https://www.sthu.org/code/codesnippets/mutt-gruvbox.html but with lots of # added flavor. # Useful links: # http://www.mutt.org/doc/manual/#patterns # https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg # We want to mimic the colors of gruvbox, and make them more usable. # bg0 = 234 # bg1 = 237 # bg2 = 239 # bg3 = 241 # bg4 = 243 # # gray = 245 # # fg0 = 229 # fg1 = 223 # fg2 = 250 # fg3 = 248 # fg4 = 246 # # red = 167 # green = 142 # yellow = 214 # blue = 109 # purple = 175 # aqua = 108 # orange = 208 # stuff color attachment brightyellow color234 color bold color229 color234 color error color167 color234 color hdrdefault color246 color234 color indicator color223 color237 color markers color243 color234 color normal color223 color234 color quoted color250 color234 color quoted1 color108 color234 color quoted2 color250 color234 color quoted3 color108 color234 color quoted4 color250 color234 color quoted5 color108 color234 color search color234 color208 color signature color108 color234 color tilde color243 color234 color tree color167 color234 color underline color223 color239 # status color status color223 color239 # Highlight New, Deleted, or Flagged emails color status brightred color239 '(New|Del|Flag):[0-9]+' # Highlight mailbox ordering if it's different from the default # First, highlight anything (*/*) color status color167 color239 '\([^)]+/[^)]+\)' # Then override the color for one specific case color status color223 color239 '\(threads/last-date-received\)' # Highlight the mailbox color status color214 color239 'Mutt: ([^ ]+)' 1 # The '1' refers to the first regex submatch, which is the inner part in ()s # index color index color230 color235 ~(~N) # messages in threads with some unread color index yellow color235 ~N # New color index yellow color235 ~O # Old, but unread color index yellow color235 ~U # unread messages color index color207 color235 ~F # Flagged color index red color234 ~D # Deleted color index brightred color234 ~E # expired messages color index color109 color234 ~P # messages from me color index color158 color234 ~v # messages part of a collapsed thread color index color119 color234 ~v~F # messages part of a collapsed thread color index green color234 ~v~(~N) # collapsed thread with some unread color index green color234 ~N~v~(~N) # collapsed thread with unread paren color index green color234 ~v~(~U) # thread with unread messages color index green color234 ~S # superseded messages color index color197 color234 ~T # tagged messages color index blue color234 ~= # duplicated messages # Highlight the flags for flagged (~F) emails color index_flags color229 color234 '~p' color index_flags yellow color234 '~O' color index_flags brightyellow color234 '~N' color index_flags brightred color234 '~F' #sidebar color sidebar_divider color250 color234 color sidebar_new color142 color234 # headers color header color214 color234 "^(To:|From:)" color header color108 color234 ^Reply-To: color header color142 color234 ^Subject: color header color175 color234 ^Date: # body color body color142 color234 "[a-z]{3,128}://[-a-zA-Z0-9@:%._\\+~#=/?&,]+" # links color body color208 color234 "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" # mailaddresses color body color208 color234 "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" # mailtos color body color214 color237 "[;:]-*[)>(