Config couleur mutt

main
Gil 2023-09-01 16:12:16 +02:00
parent 2ad5a12556
commit de7a05fa8c
1 changed files with 40 additions and 69 deletions

View File

@ -119,77 +119,48 @@ bind index,pager \Cp sidebar-prev-new
bind index,pager \Cn sidebar-next-new bind index,pager \Cn sidebar-next-new
bind index,pager B sidebar-toggle-visible bind index,pager B sidebar-toggle-visible
# Default index colors:
color index yellow default '.*'
color index_author red default '.*'
color index_number blue default
color index_subject cyan default '.*'
# New mail is boldened: color normal default default # default colours
color index brightyellow black "~N" color index brightblue default ~N # new messages
color index_author brightred black "~N" color index red default ~F # flagged messages
color index_subject brightcyan black "~N" color index blue default ~T # tagged messages
color index color109 default ~D # deleted messages
# Tagged mail is highlighted: # The older the email, the darker it appears.
color index brightyellow blue "~T" color index color250 default "~d >7d" # older than 7 days
color index_author brightred blue "~T" color index color245 default "~d >20d" # older than 20 days
color index_subject brightcyan blue "~T" color index color240 default "~d >30d" # older than 30 days
color index color238 default "~d >90d" # older than 90 days
# Flagged mail is highlighted: color body brightyellow default (https?|ftp)://[\-\.+,/%~_:?&=\#a-zA-Z0-9]+
color index brightgreen default "~F" color body brightgreen default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color index_subject brightgreen default "~F" color attachment magenta default # attachments
color index_author brightgreen default "~F" color signature brightwhite default # sigs
color search brightred black # highlight results
# Other colors and aesthetic settings: color indicator brightyellow default # currently highlighted message
mono bold bold color error red default # error messages
mono underline underline color status black color109 # status line
mono indicator reverse color tree brightblack default # thread tree
mono error bold color tilde color109 default # blank line padding
color normal default default
color indicator brightblack white
color sidebar_highlight red default
color sidebar_divider brightblack black
color sidebar_flagged red black
color sidebar_new green black
color error red default
color tilde black default
color message cyan default
color markers red white
color attachment white default
color search brightmagenta default
color status brightyellow black
color hdrdefault brightgreen default
color quoted green default
color quoted1 blue default
color quoted2 cyan default
color quoted3 yellow default
color quoted4 red default
color quoted5 brightred default
color signature brightgreen default
color bold black default
color underline black default
# Regex highlighting: color hdrdefault black color109 # default headers
color header brightmagenta default "^From" color header black color109 "^From:"
color header brightcyan default "^Subject" color header black color109 "^Subject:"
color header brightwhite default "^(CC|BCC)"
color header blue default ".*" color quoted color109 default # quote colours
color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses color quoted1 brightcyan default
color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL color quoted2 blue default
color body green default "\`[^\`]*\`" # Green text between ` and ` color quoted3 green default
color body brightblue default "^# \.*" # Headings as bold blue color quoted4 yellow default
color body brightcyan default "^## \.*" # Subheadings as bold cyan color quoted5 red default
color body brightgreen default "^### \.*" # Subsubheadings as bold green
color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow color body green default "^gpg: Good signature from"
color body brightcyan default "[;:][-o][)/(|]" # emoticons color body brightred default "^gpg: Bad signature from"
color body brightcyan default "[;:][)(|]" # emoticons color body brightred default "^gpg: BAD signature from"
color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon? color body brightred default "^gpg: Note: This key has expired!"
color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon? color body brightyellow default "^gpg: WARNING: This key is not certified with a trusted signature!"
color body red default "(BAD signature)" color body brightyellow default "^gpg: There is no indication that the signature belongs to the owner."
color body cyan default "(Good signature)" color body brightyellow default "^gpg: can't handle these multiple signatures"
color body brightblack default "^gpg: Good signature .*" color body brightyellow default "^gpg: signature verification suppressed"
color body brightyellow default "^gpg: " color body brightyellow default "^gpg: invalid node with packet of type"
color body brightyellow red "^gpg: BAD signature from.*"
mono body bold "^gpg: Good signature"
mono body bold "^gpg: BAD signature from.*"
color body red 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<>\"]"