gentoo-sway #2
3 changed files with 38 additions and 159 deletions
|
@ -1,121 +1,36 @@
|
||||||
# vim: filetype=muttrc
|
# vim: filetype=muttrc
|
||||||
|
|
||||||
# basic colors ---------------------------------------------------------
|
# mutt color scheme
|
||||||
color normal color254 default
|
color normal default default # default colours
|
||||||
color error color160 default
|
color index brightblue default ~N # new messages
|
||||||
color tilde color235 default
|
color index red default ~F # flagged messages
|
||||||
color message color37 default
|
color index blue default ~T # tagged messages
|
||||||
color markers color160 default
|
color index cyan default ~D # deleted messages
|
||||||
color attachment color254 default
|
color body brightyellow default (https?|ftp)://[\-\.+,/%~_:?&=\#a-zA-Z0-9]+
|
||||||
color search color61 default
|
color body brightgreen default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
|
||||||
color status color241 default
|
color attachment magenta default # attachments
|
||||||
color indicator white color237
|
color signature brightwhite default # sigs
|
||||||
color tree color136 default # arrow in threads
|
color search brightred black # highlight results
|
||||||
|
color indicator brightyellow default # currently highlighted message
|
||||||
# basic monocolor screen
|
color error red default # error messages
|
||||||
mono bold bold
|
color status white cyan # status line
|
||||||
mono underline underline
|
color tree brightblack default # thread tree
|
||||||
mono indicator reverse
|
color tilde cyan default # blank line padding
|
||||||
mono error bold
|
color hdrdefault black cyan # default headers
|
||||||
|
color header brightwhite cyan "^From:"
|
||||||
# index ----------------------------------------------------------------
|
color header brightwhite cyan "^Subject:"
|
||||||
color index color160 default "~D(!~p|~p)" # deleted
|
color quoted cyan default # quote colours
|
||||||
color index color235 default ~F # flagged
|
color quoted1 brightcyan default
|
||||||
color index color166 default ~= # duplicate messages
|
color quoted2 blue default
|
||||||
color index color140 default "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
|
color quoted3 green default
|
||||||
color index color160 default "~A" # all messages
|
color quoted4 yellow default
|
||||||
color index color166 default "~E" # expired messages
|
color quoted5 red default
|
||||||
color index color33 default "~N" # new messages
|
color body green default "^gpg: Good signature from"
|
||||||
color index color33 default "~O" # old messages
|
color body brightred default "^gpg: Bad signature from"
|
||||||
color index color61 default "~Q" # messages that have been replied to
|
color body brightred default "^gpg: BAD signature from"
|
||||||
color index color252 default "~R" # read messages
|
color body brightred default "^gpg: Note: This key has expired!"
|
||||||
color index color33 default "~U" # unread messages
|
color body brightyellow default "^gpg: WARNING: This key is not certified with a trusted signature!"
|
||||||
color index color33 default "~U~$" # unread, unreferenced messages
|
color body brightyellow default "^gpg: There is no indication that the signature belongs to the owner."
|
||||||
color index color141 default "~v" # messages part of a collapsed thread
|
color body brightyellow default "^gpg: can't handle these multiple signatures"
|
||||||
color index color141 default "~P" # messages from me
|
color body brightyellow default "^gpg: signature verification suppressed"
|
||||||
color index color37 default "~p!~F" # messages to me
|
color body brightyellow default "^gpg: invalid node with packet of type"
|
||||||
color index color37 default "~N~p!~F" # new messages to me
|
|
||||||
color index color37 default "~U~p!~F" # unread messages to me
|
|
||||||
color index color252 default "~R~p!~F" # messages to me
|
|
||||||
color index color160 default "~F" # flagged messages
|
|
||||||
color index color160 default "~F~p" # flagged messages to me
|
|
||||||
color index color160 default "~N~F" # new flagged messages
|
|
||||||
color index color160 default "~N~F~p" # new flagged messages to me
|
|
||||||
color index color160 default "~U~F~p" # new flagged messages to me
|
|
||||||
color index color235 color160 "~D" # deleted messages
|
|
||||||
color index color245 default "~v~(!~N)" # collapsed thread with no unread
|
|
||||||
color index color136 default "~v~(~N)" # collapsed thread with some unread
|
|
||||||
color index color64 default "~N~v~(~N)" # collapsed thread with unread parent
|
|
||||||
# statusbg used to indicated flagged when foreground color shows other status
|
|
||||||
# for collapsed thread
|
|
||||||
color index color160 color235 "~v~(~F)!~N" # collapsed thread with flagged, no unread
|
|
||||||
color index color136 color235 "~v~(~F~N)" # collapsed thread with some unread & flagged
|
|
||||||
color index color64 color235 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
|
|
||||||
color index color64 color235 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
|
|
||||||
color index color37 color235 "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
|
|
||||||
color index color136 color160 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
|
|
||||||
color index color136 default "~T" # tagged messages
|
|
||||||
color index_author color32 default '.*'
|
|
||||||
color index_date color214 default
|
|
||||||
color index_size color28 default
|
|
||||||
|
|
||||||
# message headers ------------------------------------------------------
|
|
||||||
color header color251 default "^"
|
|
||||||
color hdrdefault color251 default
|
|
||||||
color header color214 default "^(Date)"
|
|
||||||
color header color251 default "^(From)"
|
|
||||||
color header color39 default "^(Subject)"
|
|
||||||
|
|
||||||
# body -----------------------------------------------------------------
|
|
||||||
color quoted color31 default
|
|
||||||
color quoted1 color37 default
|
|
||||||
color quoted2 color136 default
|
|
||||||
color quoted3 color160 default
|
|
||||||
color quoted4 color166 default
|
|
||||||
|
|
||||||
color signature color240 default
|
|
||||||
color bold color235 default
|
|
||||||
color underline color235 default
|
|
||||||
color normal color250 default
|
|
||||||
color body color245 default "[;:][-o][)/(|]" # emoticons
|
|
||||||
color body color245 default "[;:][)(|]" # emoticons
|
|
||||||
color body color245 default "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
|
|
||||||
|FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
|
|
||||||
|IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
|
|
||||||
color body color245 default "[ ][*][^*]*[*][ ]?" # more emoticon?
|
|
||||||
color body color245 default "[ ]?[*][^*]*[*][ ]" # more emoticon?
|
|
||||||
|
|
||||||
## pgp
|
|
||||||
color body color160 default "(BAD signature)"
|
|
||||||
color body color37 default "(Good signature)"
|
|
||||||
color body color234 default "^gpg: Good signature .*"
|
|
||||||
color body color241 default "^gpg: "
|
|
||||||
color body color241 color160 "^gpg: BAD signature from.*"
|
|
||||||
mono body bold "^gpg: Good signature"
|
|
||||||
mono body bold "^gpg: BAD signature from.*"
|
|
||||||
|
|
||||||
# yes, an insance URL regex
|
|
||||||
color body color33 default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
|
|
||||||
|
|
||||||
# Various smilies and the like
|
|
||||||
color body color230 default "<[Gg]>" # <g>
|
|
||||||
color body color230 default "<[Bb][Gg]>" # <bg>
|
|
||||||
color body color136 default " [;:]-*[})>{(<|]" # :-) etc...
|
|
||||||
# *bold*
|
|
||||||
color body color33 default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
|
|
||||||
mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
|
|
||||||
# _underline_
|
|
||||||
color body color33 default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
|
|
||||||
mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
|
|
||||||
# /italic/ (Sometimes gets directory names)
|
|
||||||
color body color33 default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
|
|
||||||
mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
|
|
||||||
|
|
||||||
# Border lines.
|
|
||||||
color body color33 default "( *[-+=#*~_]){6,}"
|
|
||||||
|
|
||||||
# Sidebar
|
|
||||||
color sidebar_new color33 default
|
|
||||||
color sidebar_flagged color160 default
|
|
||||||
# set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
|
|
||||||
color progress white color237
|
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
text/html; firefox -new-tab %s & sleep 5; test=test -n "$DISPLAY";
|
text/html; firefox -new-tab %s & sleep 5; test=test -n "$DISPLAY";
|
||||||
#
|
#
|
||||||
# for mutt to view html e-mails
|
# for mutt to view html e-mails
|
||||||
# text/html; w3m -I %{charset} -T text/html; copiousoutput
|
# text/html; w3m -I %{charset} -T text/html; copiousoutput
|
||||||
text/html; html2text %s; copiousoutput
|
text/html; html2text %s; copiousoutput
|
||||||
|
|
||||||
application/pdf; evince %s; copiousoutput
|
application/pdf; mupdf %s; copiousoutput
|
||||||
# text/calendar; ~/.mutt/scripts/vcalendar-filter; copiousoutput
|
image/*; geeqie %s;
|
||||||
#text/calendar; mutt-ics; copiousoutput
|
|
||||||
#application/ics; mutt-ics; copiousoutput
|
|
||||||
application/*; xdg-open %s
|
application/*; xdg-open %s
|
||||||
|
|
|
@ -1,40 +1,6 @@
|
||||||
source ~/.config/neomutt/settings
|
source ~/.config/neomutt/settings
|
||||||
#source ~/.config/neomutt/colors
|
source ~/.config/neomutt/colors
|
||||||
source ~/.config/neomutt/sidebar
|
source ~/.config/neomutt/sidebar
|
||||||
|
|
||||||
source ~/.config/neomutt/accounts/darkou
|
source ~/.config/neomutt/accounts/darkou
|
||||||
source ~/.config/neomutt/accounts/mousur
|
source ~/.config/neomutt/accounts/mousur
|
||||||
|
|
||||||
|
|
||||||
# Specify where to save and/or look for postponed messages.
|
|
||||||
##set postponed = +[Gmail]/Drafts
|
|
||||||
|
|
||||||
# Allow Mutt to open a new IMAP connection automatically.
|
|
||||||
#unset imap_passive
|
|
||||||
|
|
||||||
# Store message headers locally to speed things up.
|
|
||||||
# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more.
|
|
||||||
#set header_cache = ~/.cache/mutt
|
|
||||||
|
|
||||||
# Store messages locally to speed things up, like searching message bodies.
|
|
||||||
# Can be the same folder as header_cache.
|
|
||||||
# This will cost important disk usage according to your e-mail amount.
|
|
||||||
#set message_cachedir = "~/.cache/mutt"
|
|
||||||
|
|
||||||
# Keep the IMAP connection alive by polling intermittently (time in seconds).
|
|
||||||
#set imap_keepalive = 300
|
|
||||||
|
|
||||||
# How often to check for new mail (time in seconds).
|
|
||||||
#set mail_check = 120
|
|
||||||
|
|
||||||
# Editor
|
|
||||||
#set editor = "vim"
|
|
||||||
#set charset = "utf-8"
|
|
||||||
#set record = '^'
|
|
||||||
|
|
||||||
# Mailbox ordering
|
|
||||||
#set sort_aux = reverse-last-date-received
|
|
||||||
#set sort = threads
|
|
||||||
|
|
||||||
# G to get mail
|
|
||||||
#bind index G imap-fetch-mail
|
|
||||||
|
|
Loading…
Reference in a new issue