From 4c774016396dda7814a939f1a9578c6abd76e0bf Mon Sep 17 00:00:00 2001 From: awy Date: Sat, 26 Jul 2025 19:37:26 +0300 Subject: nord theme by default --- bin/mw | 1 + share/nord.muttrc | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 share/nord.muttrc diff --git a/bin/mw b/bin/mw index 2101cdd..58a8be6 100755 --- a/bin/mw +++ b/bin/mw @@ -94,6 +94,7 @@ prepmutt() { envsubst <"$mutttemp" >"$accdir/$fulladdr.muttrc" [ ! -f "$muttrc" ] && echo "# vim: filetype=neomuttrc" >"$muttrc" ! grep -q "^source.*mutt-wizard.muttrc" "$muttrc" && echo "source $muttshare/mutt-wizard.muttrc" >>"$muttrc" + ! grep -q "^source.*nord.muttrc" "$muttrc" && echo "source $muttshare/nord.muttrc" >>"$muttrc" ! grep "^source.*.muttrc" "$muttrc" | grep -qv "$muttshare/mutt-wizard.muttrc" && echo "source $accdir/$fulladdr.muttrc" >>"$muttrc" echo "macro index,pager i$idnum 'source $accdir/$fulladdr.muttrc!;' \"switch to $fulladdr\"" >>"$muttrc" neomutt -v | grep -q lmdb && ! grep -q "^set header_cache_backend.*lmdb" "$muttrc" && echo "set header_cache_backend = \"lmdb\"" >>"$muttrc" diff --git a/share/nord.muttrc b/share/nord.muttrc new file mode 100644 index 0000000..ca0b851 --- /dev/null +++ b/share/nord.muttrc @@ -0,0 +1,37 @@ +# global + +color normal default default +color error brightred default +color status white blue +color message brightgreen default +color search yellow default +color attachment brightmagenta default +color signature cyan default + +# header +color header brightcyan default "^(From|To|Cc|Bcc|Reply-To)" +color header brightblue default "^Subject" +color header brightwhite default "^Date" + +# index (email list) +color index white default "~R" # Read +color index brightblue default "~N" # New +color index brightcyan default "~U" # Unread +color index yellow default "~F" # Flagged +color index magenta default "~T" # Tagged +color index_author blue default "~R" +color index_author brightblue default "~N" + +# quoted text in emails +color quoted blue default +color quoted1 cyan default +color quoted2 magenta default +color quoted3 brightmagenta default + +# tilde and markers +color tilde cyan default +color markers black cyan + +# links and emails in the body +color body brightblue default "https?://[^ \"\t\r\n]+" +color body magenta default "[^ ]+@[^ ]+" -- cgit v1.2.3