diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-04-23 00:01:56 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-04-23 02:54:56 +0100 |
commit | a59263b6672009c3dc8615ffb6c03342c8da3cac (patch) | |
tree | a70252001288b85ede6c35b0987cbfa452d2c460 /mutt | |
parent | a55bcab62ee5d7198ee11a8e801895404d5d14cf (diff) |
Change mutt colors
Diffstat (limited to 'mutt')
-rw-r--r-- | mutt/.mutt/colors | 23 | ||||
-rw-r--r-- | mutt/.mutt/colors.dark.muttrc | 97 | ||||
-rw-r--r-- | mutt/.mutt/colors.light.muttrc | 96 | ||||
-rw-r--r-- | mutt/.mutt/muttrc | 4 |
4 files changed, 196 insertions, 24 deletions
diff --git a/mutt/.mutt/colors b/mutt/.mutt/colors deleted file mode 100644 index 39b16b2..0000000 --- a/mutt/.mutt/colors +++ /dev/null @@ -1,23 +0,0 @@ -# -*-muttrc-*- - -# Palette for use with the Linux console. Black background. - -color hdrdefault blue black -color quoted blue black -color signature blue black -color attachment red black -color prompt brightmagenta black -color message brightred black -color error brightred black -color indicator black red -color status brightgreen blue -color tree white black -color normal white black -color markers red black -color search white black -color tilde brightmagenta black -color index blue black ~F -color index red black "~N|~O" - -# color body brightwhite black '\*+[^*]+\*+' -# color body brightwhite black '_+[^_]+_+' diff --git a/mutt/.mutt/colors.dark.muttrc b/mutt/.mutt/colors.dark.muttrc new file mode 100644 index 0000000..1acf19c --- /dev/null +++ b/mutt/.mutt/colors.dark.muttrc @@ -0,0 +1,97 @@ +# Mutt template by Robert Timm (https://github.com/rti) +# Base16 scheme and Base16 Builder by Chris Kempson (https://github.com/chriskempson) +# +# ----------------------------------------------------------------------------- +# MESSAGE MATCH PATTERNS +# ----------------------------------------------------------------------------- +# ~A all messages +# ~b EXPR messages which contain EXPR in the message body +# ~B EXPR messages which contain EXPR in the whole message +# ~c USER messages carbon-copied to USER +# ~C EXPR message is either to: or cc: EXPR +# ~D deleted messages +# ~d [MIN]-[MAX] messages with ``date-sent'' in a Date range +# ~E expired messages +# ~e EXPR message which contains EXPR in the ``Sender'' field +# ~F flagged messages +# ~f USER messages originating from USER +# ~g PGP signed messages +# ~G PGP encrypted messages +# ~h EXPR messages which contain EXPR in the message header +# ~k message contains PGP key material +# ~i ID message which match ID in the ``Message-ID'' field +# ~L EXPR message is either originated or received by EXPR +# ~l message is addressed to a known mailing list +# ~m [MIN]-[MAX] message in the range MIN to MAX *) +# ~n [MIN]-[MAX] messages with a score in the range MIN to MAX *) +# ~N new messages +# ~O old messages +# ~p message is addressed to you (consults $alternates) +# ~P message is from you (consults $alternates) +# ~Q messages which have been replied to +# ~R read messages +# ~r [MIN]-[MAX] messages with ``date-received'' in a Date range +# ~S superseded messages +# ~s SUBJECT messages having SUBJECT in the ``Subject'' field. +# ~T tagged messages +# ~t USER messages addressed to USER +# ~U unread messages +# ~v message is part of a collapsed thread. +# ~x EXPR messages which contain EXPR in the `References' field +# ~y EXPR messages which contain EXPR in the `X-Label' field +# ~z [MIN]-[MAX] messages with a size in the range MIN to MAX *) +# ~= duplicated messages (see $duplicate_threads) + +# basic colors --------------------------------------------------------- +# name foreground background pattern +color normal color20 color0 +color error color1 color0 +color tilde color20 color0 +color message color20 color0 +color markers color1 color0 +color attachment color8 color0 +color search color2 color0 +color status color8 color18 +color indicator color7 color19 +color tree color19 color0 # arrow in threads + +color index color20 color0 "~A" # all messages +color index color1 color0 "~F" # flagged messages +color index color20 color0 "~v~(!~N)" # collapsed thread with no unread +color index color4 color0 "~U" # unread messages +color index color4 color0 "~v~(~N)" # collapsed thread with some unread +color index color1 color0 "~v~(~F)" # collapsed thread with some flagged +color index color0 color1 "~D" # deleted messages + +# header +color hdrdefault color20 color18 +color header color20 color18 "^" +color header color7 color18 "^(From)" +color header color7 color18 "^(Subject)" + +# body +color normal color7 color0 +color underline color7 color0 +color bold color7 color0 +color signature color20 color0 + +color quoted color3 color0 +color quoted1 color2 color0 +color quoted2 color5 color0 +color quoted3 color6 color0 +color quoted4 color4 color0 + +# pgp +color body color2 color0 "(Good signature)" +color body color2 color0 "^gpg: Good signature .*" +color body color20 color0 "^gpg: " +color body color1 color0 "(BAD signature)" +color body color1 color1 "^gpg: BAD signature from.*" + +# body url +color body color4 color0 "([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<>\"]" +# body email +color body color4 color0 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])" + + +# vim: filetype=muttrc diff --git a/mutt/.mutt/colors.light.muttrc b/mutt/.mutt/colors.light.muttrc new file mode 100644 index 0000000..9d94506 --- /dev/null +++ b/mutt/.mutt/colors.light.muttrc @@ -0,0 +1,96 @@ +# Mutt template by Robert Timm (https://github.com/rti) +# Base16 scheme and Base16 Builder by Chris Kempson (https://github.com/chriskempson) +# +# ----------------------------------------------------------------------------- +# MESSAGE MATCH PATTERNS +# ----------------------------------------------------------------------------- +# ~A all messages +# ~b EXPR messages which contain EXPR in the message body +# ~B EXPR messages which contain EXPR in the whole message +# ~c USER messages carbon-copied to USER +# ~C EXPR message is either to: or cc: EXPR +# ~D deleted messages +# ~d [MIN]-[MAX] messages with ``date-sent'' in a Date range +# ~E expired messages +# ~e EXPR message which contains EXPR in the ``Sender'' field +# ~F flagged messages +# ~f USER messages originating from USER +# ~g PGP signed messages +# ~G PGP encrypted messages +# ~h EXPR messages which contain EXPR in the message header +# ~k message contains PGP key material +# ~i ID message which match ID in the ``Message-ID'' field +# ~L EXPR message is either originated or received by EXPR +# ~l message is addressed to a known mailing list +# ~m [MIN]-[MAX] message in the range MIN to MAX *) +# ~n [MIN]-[MAX] messages with a score in the range MIN to MAX *) +# ~N new messages +# ~O old messages +# ~p message is addressed to you (consults $alternates) +# ~P message is from you (consults $alternates) +# ~Q messages which have been replied to +# ~R read messages +# ~r [MIN]-[MAX] messages with ``date-received'' in a Date range +# ~S superseded messages +# ~s SUBJECT messages having SUBJECT in the ``Subject'' field. +# ~T tagged messages +# ~t USER messages addressed to USER +# ~U unread messages +# ~v message is part of a collapsed thread. +# ~x EXPR messages which contain EXPR in the `References' field +# ~y EXPR messages which contain EXPR in the `X-Label' field +# ~z [MIN]-[MAX] messages with a size in the range MIN to MAX *) +# ~= duplicated messages (see $duplicate_threads) + +# basic colors --------------------------------------------------------- +# name foreground background pattern +color normal color0 color15 +color error color1 color15 +color tilde color0 color15 +color message color0 color15 +color markers color1 color15 +color attachment color20 color15 +color search color2 color15 +color status color20 color21 +color indicator color19 color7 +color tree color7 color15 # arrow in threads + +color index color0 color15 "~A" # all messages +color index color1 color15 "~F" # flagged messages +color index color0 color15 "~v~(!~N)" # collapsed thread with no unread +color index color4 color15 "~U" # unread messages +color index color4 color15 "~v~(~N)" # collapsed thread with some unread +color index color1 color15 "~v~(~F)" # collapsed thread with some flagged +color index color15 color1 "~D" # deleted messages + +# header +color hdrdefault color20 color21 +color header color20 color21 "^" +color header color19 color21 "^(From)" +color header color19 color21 "^(Subject)" + +# body +color normal color0 color15 +color underline color0 color15 +color bold color0 color15 +color signature color20 color15 + +color quoted color3 color15 +color quoted1 color2 color15 +color quoted2 color5 color15 +color quoted3 color6 color15 +color quoted4 color4 color15 + +# pgp +color body color2 color15 "(Good signature)" +color body color2 color15 "^gpg: Good signature .*" +color body color20 color15 "^gpg: " +color body color1 color15 "(BAD signature)" +color body color1 color1 "^gpg: BAD signature from.*" + +# body url +color body color4 color15 "([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<>\"]" +# body email +color body color4 color15 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])" + +# vim: filetype=muttrc diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index cef8107..0403d18 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -9,7 +9,7 @@ set mailcap_path = ~/.mutt/mailcap set tmpdir = ~/.mutt/temp # Source crypto, aliases, mailboxes -source ~/.mutt/colors +# source ~/.mutt/colors source ~/.mutt/crypto source ~/.mutt/alias source ~/.mutt/mailboxes @@ -86,6 +86,8 @@ folder-hook 'Work*' 'source ~/.mutt/id_work' folder-hook 'Personal*' 'source ~/.mutt/id_personal' # Source mutt solarized +`[[ "$COLORSCHEME" != "solarized" && "$BACKGROUND" = "dark" ]] && echo source $HOME/.mutt/colors.dark.muttrc || echo set` +`[[ "$COLORSCHEME" != "solarized" && "$BACKGROUND" = "light" ]] && echo source $HOME/.mutt/colors.light.muttrc || echo set` `[[ "$COLORSCHEME" = "solarized" && "$BACKGROUND" = "light" ]] && echo source $HOME/.mutt/solarized/mutt-colors-solarized-light-16.muttrc || echo set` `[[ "$COLORSCHEME" = "solarized" && "$BACKGROUND" = "dark" ]] && echo source $HOME/.mutt/solarized/mutt-colors-solarized-dark-16.muttrc || echo set` |