summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2024-06-15 00:44:01 +0530
committerBrahmajit Das <brahmajit.xyz@gmail.com>2024-06-15 00:44:01 +0530
commit55e84c3674543e9abaed22956e29cca36b8d85ca (patch)
treed17409b1d4eaafd5e3d9415b7ff374d3e1e9c70c
parent8631a32d563cd26c0649b44421f056a46661aae6 (diff)
neomutt: color: use neon wolf color scheme
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
-rw-r--r--.config/neomutt/color157
1 files changed, 114 insertions, 43 deletions
diff --git a/.config/neomutt/color b/.config/neomutt/color
index 9c9181b..78b961b 100644
--- a/.config/neomutt/color
+++ b/.config/neomutt/color
@@ -1,43 +1,114 @@
-#---------- Colors ----------
-set my_background = "color234"
-set my_gray = "color245"
-set my_magenta = "color198"
-set my_brightmagenta = "brightcolor198"
-set my_green = "color112"
-set my_brightgreen = "brightcolor112"
-set my_red = "color160"
-set my_darkgray = "color235"
-set my_tan = "color185"
-set my_blue = "color81"
-set my_lavender = "color141"
-
-# index menu
-color index $my_gray $my_background ".*"
-color index_date $my_magenta $my_background
-color index_subject white $my_background "~R"
-color index_subject brightwhite $my_background "~U"
-color index_author $my_green $my_background "~R"
-color index_author $my_brightgreen $my_background "~U"
-
-# message display
-color normal white $my_background
-color error $my_red $my_background
-color tilde $my_darkgray $my_background
-color message white $my_background
-color markers $my_red white
-color attachment white $my_background
-color bold brightwhite $my_background
-color underline brightcolor81 $my_background
-color quoted $my_tan $my_background
-color quoted1 $my_blue $my_background
-color quoted2 $my_green $my_background
-color quoted3 $my_lavender $my_background
-color hdrdefault $my_gray $my_background
-color header brightwhite $my_background "^(Subject)"
-
-color search $my_lavender $my_background
-color status $my_gray $my_darkgray
-# header/footer menu
-color indicator $my_background $my_tan
-# thread tree arrows
-color tree $my_tan $my_background
+# Neonwolf Color Scheme for NeoMutt
+# Source: https://codeberg.org/h3xx/mutt-colors-neonwolf/raw/branch/main/mutt-colors-neonwolf-256.muttrc
+# Based mostly on the colors from the badwolf lightline theme
+# Project: https://codeberg.org/h3xx/mutt-colors-neonwolf
+
+# custom body highlights -----------------------------------------------
+
+# custom index highlights ----------------------------------------------
+
+
+# for background in 16 color terminal, valid background colors include:
+# base03, bg, black, any of the non brights
+
+# style notes:
+# when bg=235, that's a highlighted message
+# normal bg=233
+
+# basic colors ---------------------------------------------------------
+color error color196 color235 # message line error text
+color tilde color81 color233 # vi-like tildes marking blank lines
+color message color82 color235
+color markers bold color232 color222 # wrapped-line /^\+/ markers
+color attachment bold color165 color235 # attachment headers
+color search color232 color154 # search patterns in pager
+color status bold color232 color39
+color indicator bold color232 color154 # selected email in index
+color tree bold color165 color233 # arrow in threads (`-->')
+
+# basic monochrome screen
+mono bold bold
+mono underline underline
+mono indicator reverse
+mono error bold
+mono header bold "^(From|Subject|Date|To|Cc|Bcc):"
+mono quoted bold
+
+# index ----------------------------------------------------------------
+
+color index color160 color233 "~A" # all messages
+color index color166 color233 "~E" # expired messages
+color index bold color154 color233 "~N" # new messages
+color index color154 color233 "~O" # old messages
+color index color244 color233 "~R" # read messages
+color index bold color39 color233 "~Q" # messages that have been replied to
+color index bold color154 color233 "~U" # unread messages
+color index bold color154 color233 "~U~$" # unread, unreferenced messages
+color index color222 color233 "~v" # messages part of a collapsed thread
+color index color222 color233 "~P" # messages from me
+#color index color39 color233 "~p!~F" # messages to me
+#color index color39 color233 "~N~p!~F" # new messages to me
+#color index color39 color233 "~U~p!~F" # unread messages to me
+#color index color244 color233 "~R~p!~F" # messages to me
+color index bold color165 color233 "~F" # flagged messages
+color index bold color165 color233 "~F~p" # flagged messages to me
+color index bold color165 color233 "~N~F" # new flagged messages
+color index bold color165 color233 "~N~F~p" # new flagged messages to me
+color index bold color165 color233 "~U~F~p" # new flagged messages to me
+color index color232 color196 "!~N ~D" # deleted messages
+color index color232 color196 "~N ~D" # deleted new messages
+color index color244 color233 "~v~(!~N)" # collapsed thread with no unread
+color index color81 color233 "~v~(~N)" # collapsed thread with some unread
+color index color81 color233 "~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 color233 "~v~(~F)!~N" # collapsed thread with flagged, no unread
+color index color81 color233 "~v~(~F~N)" # collapsed thread with some unread & flagged
+color index color81 color233 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
+color index color81 color233 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
+color index color39 color233 "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
+color index color81 color160 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
+color index color222 color233 "~T" # tagged messages
+color index bold color222 color233 "~T~F" # tagged, flagged messages
+color index bold color222 color233 "~T~N" # tagged, new messages
+color index bold color222 color233 "~T~U" # tagged, unread messages
+
+# message headers ------------------------------------------------------
+
+color hdrdefault bold color222 color235
+color header bold color39 color235 "^(From|To|Cc|Bcc)"
+color header bold color165 color235 "^(Subject|Date)"
+
+# body -----------------------------------------------------------------
+
+color quoted color39 color235
+color quoted1 color165 color235
+color quoted2 color39 color235
+color quoted3 color222 color235
+color quoted4 color166 color235
+color signature color81 color235 # everything below /^--\s*$/
+
+color bold color255 color233
+color underline color233 color244
+color normal color244 color233
+
+## pgp
+
+color body color160 color233 "(BAD signature)"
+color body color39 color233 "(Good signature)"
+color body color235 color233 "^gpg: Good signature .*"
+color body color241 color233 "^gpg: "
+color body color241 color160 "^gpg: BAD signature from.*"
+mono body bold "^gpg: Good signature"
+mono body bold "^gpg: BAD signature from.*"
+
+# yes, an insane URL regex
+color body bold color39 color233 "([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 bold color39 color233 "((@(([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]\\])"
+
+# simplified regex for URL & email
+#color body magenta default "(ftp|https?|gopher|news|telnet|finger)://[^ \"\t\r\n]+"
+#color body magenta default "[-a-z_0-9.]+@[-a-z_0-9.]+"
+
+# vi: ft=muttrc ts=4 sw=4 sts=4 et