neomutt: Update message index colors
We have differentiated views of new (italic) and unread (underline, and a bit of highlight on the author) messages. Additionally the indicator highlighting works better with the rest of the colors, and we have a better paperclip icon icon for attachments.
This commit is contained in:
parent
b02d0218c4
commit
1a6b929e24
1 changed files with 15 additions and 41 deletions
|
|
@ -5,36 +5,6 @@ color header brightmagenta default "^(From)"
|
|||
color header brightcyan default "^(Subject)"
|
||||
color header brightwhite default "^(CC|BCC)"
|
||||
|
||||
# mono bold bold
|
||||
# mono underline underline
|
||||
# mono indicator reverse
|
||||
# mono error bold
|
||||
# color normal default default
|
||||
# color indicator brightyellow default # currently selected message. default makes bar clear, disabled arrow to save space.
|
||||
# color sidebar_highlight red default
|
||||
# color sidebar_divider brightblack black
|
||||
# color sidebar_flagged red black
|
||||
# color sidebar_new green black
|
||||
# color normal brightyellow default
|
||||
# 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
|
||||
# color normal default default
|
||||
|
||||
color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
|
||||
color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
|
||||
color body green default "\`[^\`]*\`" # Green text between ` and `
|
||||
|
|
@ -56,15 +26,20 @@ 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<>\"]"
|
||||
|
||||
# Default index colors:
|
||||
color index yellow default '.*'
|
||||
color index_author red default '.*'
|
||||
color index_number blue default
|
||||
color index_subject cyan default '.*'
|
||||
color index yellow default "~A"
|
||||
color index_author magenta default "~A"
|
||||
color index_number blue default "~A"
|
||||
color index_subject cyan default "~A"
|
||||
|
||||
# For new mail:
|
||||
color index brightyellow brightblack "~N"
|
||||
color index_author brightred brightblack "~N"
|
||||
color index_subject brightcyan black "~N"
|
||||
# For new mail (i.e. arrived after last time neomutt was open):
|
||||
color index brightyellow default "~N"
|
||||
color index_author bold italic brightred default "~N"
|
||||
color index_subject bold italic brightcyan default "~N"
|
||||
|
||||
# For unread mail:
|
||||
color index brightyellow default "~U"
|
||||
color index_author bold brightmagenta brightblack "~U"
|
||||
color index_subject underline brightcyan default "~U"
|
||||
|
||||
color progress black cyan
|
||||
# Nerd icons idea based on https://github.com/sheoak/neomutt-powerline-nerdfonts/
|
||||
|
|
@ -73,13 +48,12 @@ color progress black cyan
|
|||
|
||||
# Formatting ----------------------------------------------------------------------
|
||||
set date_format = "%a %d %h %H:%M"
|
||||
set index_format=" %zc %zs %zt | %-35.35L %?X?📎& ? %M %-30.100s %> %?Y?%Y ? %(!%a %d %h %H:%M) "
|
||||
set index_format=" %zc %zs %zt | %-35.35L %?X?& ? %M %-30.100s %> %?Y?%Y ? %(!%a %d %h %H:%M) "
|
||||
set pager_format="%n %T %s%* %{!%d %b · %H:%M} %?X? %X?%P"
|
||||
set status_format = " %D %?u? %u ?%?R? %R ?%?d? %d ?%?t? %t ?%?F? %F ?%?p? %p? \n \n"
|
||||
set compose_format="-- NeoMutt: Compose [Approx. msg size: %l Atts: %a]%>-"
|
||||
# set vfolder_format = "%N %?n?%3n& ? %8m · %f"
|
||||
set attach_format = "%u%D %T %-75.20d %T %5s %m/%M"
|
||||
set sidebar_format = '%D%?Z? [%Z]?%* %?S?%S?'
|
||||
set sidebar_format = '%B%<F? [%F]>%* %<Z?%Z/>%S'
|
||||
index-format-hook attachment_info '=B text/calendar ~X 1' ' '
|
||||
index-format-hook attachment_info '=B text/calendar' " "
|
||||
|
|
@ -127,7 +101,7 @@ color index color3 default '~T' # tagged messages
|
|||
color index color3 default '~T~N' # tagged messages (new)
|
||||
color index color11 default '~T~R' # tagged messages (read)
|
||||
color tree color8 color8 # thread tree lines/arrow
|
||||
color indicator default color8 # selection indicator
|
||||
color indicator black cyan # selection indicator
|
||||
color index_date color8 default # date is always the same colour
|
||||
color index_label color6 default # label is always the same colour
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue