From 149baa57623287f9a6a2d956dc4a48d4a445fded Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Tue, 2 Jan 2024 08:27:16 +0100 Subject: [PATCH] Update 2024-01-02 08:27 OpenBSD/amd64-x13 --- .mutt/colors/codevoid | 111 +++++++------------------- .mutt/colors/solarized-dark | 151 ++++++++++++++++++++++++++++++++++++ .mutt/colors/vombatidae | 44 +++++++++++ .mutt/rc-common | 1 - 4 files changed, 222 insertions(+), 85 deletions(-) create mode 100644 .mutt/colors/solarized-dark create mode 100644 .mutt/colors/vombatidae diff --git a/.mutt/colors/codevoid b/.mutt/colors/codevoid index 6e4a85e..368b6d8 100644 --- a/.mutt/colors/codevoid +++ b/.mutt/colors/codevoid @@ -1,92 +1,35 @@ # Programcolors (fg/bg) # INDEX -color indicator color208 default -color status color242 default -color tree color242 default -color markers color242 default -color error color196 default -color normal white default +color indicator color208 default +color status color242 default +color tree color242 default +color markers color242 default +color error color196 default +color normal white default + +color index color249 default '~d>6w' +color index color243 default '~d>12w' +color index color238 default '~d>24w' # PAGER -color hdrdefault color242 default -color signature color242 default -color attachment color242 default +color hdrdefault color242 default +color signature color242 default +color attachment color242 default -color quoted magenta default -color quoted1 cyan default -color quoted2 brightblue default -color quoted3 yellow default -color quoted4 magenta default -color quoted5 cyan default -color quoted6 brightblue default -color quoted7 yellow default +color quoted magenta default +color quoted1 cyan default +color quoted2 brightblue default +color quoted3 yellow default +color quoted4 magenta default +color quoted5 cyan default +color quoted6 brightblue default +color quoted7 yellow default -#color header white default ^From: -#color header white default ^To: -#color header white default ^Subject: -color body red default "^\-" -color body red default "^\-.*" -color body red default "> \-.*" -color body green default "^\\+" -color body green default "^\\+.*" -color body green default "> \\+.*" +color body red default "^\-" +color body red default "^\-.*" +color body red default "> \-.*" +color body green default "^\\+" +color body green default "^\\+.*" +color body green default "> \\+.*" -#color tilde red default -#color message red default # info messages -#color search red red # search matches -#color underline red default # hilighting underlined -# -## Headercolors -#color header red default ^From: -#color header red default ^Cc: -#color header red default ^X -#color header red default ^Subject: -#color header red default ^Organization: -#color header red default ^Reply -#color header red default ^From -#color header red default ^X-Mailer: -#color header red default ^To: -#color header red default ^X-Mailing-List: -#color header red default ^OpenPGP: -#color header red default ^OpenGPG: -#color header red default ^X-OpenGPG: -#color header red default ^Date: -#color header red default ^User-Agent: -#color header red default ^List-Id: -#color header red default ^Sender: -#color header red default ^X-PGP-Fingerprint: -# - -## Smilies etc. -##color body red default "<[Gg]>" -##color body red default "<[Bb][Gg]>" -##color body red default " [;:]-*[)>(<|]" -# -## Emails -#color body red default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" -# -## URLs -#color body red default "(https|http|ftp|news|telnet|finger|gopher)://[^ ]*" -#color body red default "mailto:[-a-z_0-9.\+]+@[-a-z_0-9.]+" -# -## Message types -#color index red default '~P' # from me -##color index red default '~p' # personal -#color index red default '~G' # PGP -#color index red default '~F' # flagged -##color index red default '~Q' # replied -##color index red default '~N' # new -##color index red default '~D' # deleted - - -#color index color8 default '~f "foxy@free.fr"' -#color index color8 default '~f "solene@perso.pw"' -#color index color8 default '~f "jca@wxcvbn.org"' -#color index color8 default '~f "@afresh1.com"' -#color index color8 default '~f "@openbsd.org"' -#color index color8 default '~f "@cvs.openbsd.org"' -#color index color6 default '~f ".*openbsd.*@codevoid.de"' -color index color249 default '~d>6w' -color index color243 default '~d>12w' -color index color238 default '~d>24w' diff --git a/.mutt/colors/solarized-dark b/.mutt/colors/solarized-dark new file mode 100644 index 0000000..b318651 --- /dev/null +++ b/.mutt/colors/solarized-dark @@ -0,0 +1,151 @@ +# vim: filetype=muttrc + +# +# +# make sure that you are using mutt linked against slang, not ncurses, or +# suffer the consequences of weird color issues. use "mutt -v" to check this. + +# custom body highlights ----------------------------------------------- +# highlight my name and other personally relevant strings +#color body color136 color234 "(ethan|schoonover)" +# custom index highlights ---------------------------------------------- +# messages which mention my name in the body +#color index color136 color234 "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P" +#color index J_cream color230 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P" +#color index color136 color37 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P" +#color index color136 J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P" +## messages which are in reference to my mails +#color index J_magent color234 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P" +#color index J_magent color230 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P" +#color index J_magent color37 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P" +#color index J_magent color160 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P" + +# for background in 16 color terminal, valid background colors include: +# base03, bg, black, any of the non brights + +# basic colors --------------------------------------------------------- +color normal color241 color234 +color error color160 color234 +color tilde color235 color234 +color message color37 color234 +color markers color160 color254 +color attachment color254 color234 +color search color61 color234 +#color status J_black J_status +color status color241 color235 +color indicator color234 color136 +color tree color136 color234 # arrow in threads + +# basic monocolor screen +mono bold bold +mono underline underline +mono indicator reverse +mono error bold + +# index ---------------------------------------------------------------- + +#color index color160 color234 "~D(!~p|~p)" # deleted +#color index color235 color234 ~F # flagged +#color index color166 color234 ~= # duplicate messages +#color index color240 color234 "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest +#color index J_base color234 "~A~N!~T!~p!~Q!~F!~D" # the rest, new +color index color160 color234 "~A" # all messages +color index color166 color234 "~E" # expired messages +color index color33 color234 "~N" # new messages +color index color33 color234 "~O" # old messages +color index color61 color234 "~Q" # messages that have been replied to +color index color240 color234 "~R" # read messages +color index color33 color234 "~U" # unread messages +color index color33 color234 "~U~$" # unread, unreferenced messages +color index color241 color234 "~v" # messages part of a collapsed thread +color index color241 color234 "~P" # messages from me +color index color37 color234 "~p!~F" # messages to me +color index color37 color234 "~N~p!~F" # new messages to me +color index color37 color234 "~U~p!~F" # unread messages to me +color index color240 color234 "~R~p!~F" # messages to me +color index color160 color234 "~F" # flagged messages +color index color160 color234 "~F~p" # flagged messages to me +color index color160 color234 "~N~F" # new flagged messages +color index color160 color234 "~N~F~p" # new flagged messages to me +color index color160 color234 "~U~F~p" # new flagged messages to me +color index color235 color160 "~D" # deleted messages +color index color245 color234 "~v~(!~N)" # collapsed thread with no unread +color index color136 color234 "~v~(~N)" # collapsed thread with some unread +color index color64 color234 "~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 color234 "~(~N)" # messages in threads with some unread +#color index color64 color234 "~S" # superseded messages +#color index color160 color234 "~T" # tagged messages +#color index color166 color160 "~=" # duplicated messages + +# message headers ------------------------------------------------------ + +#color header color240 color234 "^" +color hdrdefault color240 color234 +color header color241 color234 "^(From)" +color header color33 color234 "^(Subject)" + +# body ----------------------------------------------------------------- + +color quoted color33 color234 +color quoted1 color37 color234 +color quoted2 color136 color234 +color quoted3 color160 color234 +color quoted4 color166 color234 + +color signature color240 color234 +color bold color235 color234 +color underline color235 color234 +color normal color244 color234 +# +color body color245 color234 "[;:][-o][)/(|]" # emoticons +color body color245 color234 "[;:][)(|]" # emoticons +color body color245 color234 "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\ + |FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\ + |IRL|RTFM|ROTFL|ROFL|YMMV)[*]?" +color body color245 color234 "[ ][*][^*]*[*][ ]?" # more emoticon? +color body color245 color234 "[ ]?[*][^*]*[*][ ]" # more emoticon? + +## pgp + +color body color160 color234 "(BAD signature)" +color body color37 color234 "(Good signature)" +color body color234 color234 "^gpg: Good signature .*" +color body color241 color234 "^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 color160 color234 "([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<>\"]" +# and a heavy handed email regex +#color body J_magent color234 "((@(([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]\\])" + +# Various smilies and the like +#color body color230 color234 "<[Gg]>" # +#color body color230 color234 "<[Bb][Gg]>" # +#color body color136 color234 " [;:]-*[})>{(<|]" # :-) etc... +# *bold* +#color body color33 color234 "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)" +#mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)" +# _underline_ +#color body color33 color234 "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)" +#mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)" +# /italic/ (Sometimes gets directory names) +#color body color33 color234 "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)" +#mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)" + +# Border lines. +#color body color33 color234 "( *[-+=#*~_]){6,}" + +#folder-hook . "color status J_black J_status " +#folder-hook gmail/inbox "color status J_black color136 " +#folder-hook gmail/important "color status J_black color136 " + diff --git a/.mutt/colors/vombatidae b/.mutt/colors/vombatidae new file mode 100644 index 0000000..3bc842c --- /dev/null +++ b/.mutt/colors/vombatidae @@ -0,0 +1,44 @@ + +color normal color253 color234 +color indicator color208 color235 +color status color208 color233 +color tree color208 color234 + +color attachment color238 color234 +color signature color238 color234 + +color message color253 color234 + +color error color30 color234 +color tilde color240 color234 + +color search color100 color234 +color markers color240 color234 + +color quoted color107 color234 +color quoted1 color66 color234 +color quoted2 color32 color234 +color quoted3 color30 color234 +color quoted4 color99 color234 +color quoted5 color36 color234 +color quoted6 color114 color234 +color quoted7 color109 color234 +color quoted8 color41 color234 + +#color index color202 color234 ~F +#color index color39 color234 ~N +#color index color39 color234 ~O +#color index color229 color22 ~T +#color index color240 color234 ~D + +color hdrdefault color240 color233 +color header color246 color233 '^date:' +color header color246 color233 '^(to|cc|bcc):' +color header color246 color233 '^from:' +color header color246 color233 '^subject:' +color header color246 color233 '^reply-to:' +color header color246 color233 '^delivered-to:' + +color body green color234 "^Good signature from:" +color body red color234 "^Problem signature from:" +color body red color234 "^\\*BAD\\* signature from:" diff --git a/.mutt/rc-common b/.mutt/rc-common index ed83c8b..cd226f7 100644 --- a/.mutt/rc-common +++ b/.mutt/rc-common @@ -319,4 +319,3 @@ set autocrypt = no set pgp_use_gpg_agent = yes source ~/.mutt/colors/codevoid -#source ~/.mutt/colors/devcolors