mutt-wizard

default description
git clone https://git.awy.one/mutt-wizard.git
Log | Files | Refs | README | LICENSE

commit 8d6ccf6dda83933e1a0402228442cd46031ce184
parent 0c1f068e46385de497ab640510dac7ae8269977d
Author: awy <awy@awy.one>
Date:   Sun,  7 Dec 2025 15:45:33 +0300

Revert "colors"

This reverts commit 0c1f068e46385de497ab640510dac7ae8269977d.

Diffstat:
Mbin/mw | 1-
Dshare/catppuccin.muttrc | 34----------------------------------
Mshare/mutt-wizard.muttrc | 148++++++++++++++++++++++++++++++++++++++++----------------------------------------
3 files changed, 74 insertions(+), 109 deletions(-)

diff --git a/bin/mw b/bin/mw @@ -94,7 +94,6 @@ 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.*catppuccin.muttrc" "$muttrc" && echo "source $muttshare/catppuccin.muttrc" >>"$muttrc" ! grep "^source.*.muttrc" "$muttrc" | grep -qv "$muttshare/mutt-wizard.muttrc" && echo "source $accdir/$fulladdr.muttrc" >>"$muttrc" echo "macro index,pager i$idnum '<sync-mailbox><enter-command>source $accdir/$fulladdr.muttrc<enter><change-folder>!<enter>;<check-stats>' \"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/catppuccin.muttrc b/share/catppuccin.muttrc @@ -1,34 +0,0 @@ -color normal default default # Text is "Text" -color index color2 default ~N # New Messages are Green -color index color1 default ~F # Flagged messages are Red -color index color13 default ~T # Tagged Messages are Red -color index color1 default ~D # Messages to delete are Red -color attachment color5 default # Attachments are Pink -color signature color8 default # Signatures are Surface 2 -color search color4 default # Highlighted results are Blue - -color indicator default color8 # currently highlighted message Surface 2=Background Text=Foreground -color error color1 default # error messages are Red -color status color15 default # status line "Subtext 0" -color tree color15 default # thread tree arrows Subtext 0 -color tilde color15 default # blank line padding Subtext 0 - -color hdrdefault color13 default # default headers Pink -color header color13 default "^From:" -color header color13 default "^Subject:" - -color quoted color15 default # Subtext 0 -color quoted1 color7 default # Subtext 1 -color quoted2 color8 default # Surface 2 -color quoted3 color0 default # Surface 1 -color quoted4 color0 default -color quoted5 color0 default - -color body color2 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses Green -color body color2 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs Green -color body color4 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text Blue -color body color4 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text Blue -color body color4 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text Blue - -color sidebar_flagged color1 default # Mailboxes with flagged mails are Red -color sidebar_new color10 default # Mailboxes with new mail are Green diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc @@ -118,77 +118,77 @@ bind index,pager \Cp sidebar-prev-new bind index,pager \Cn sidebar-next-new bind index,pager B sidebar-toggle-visible -# # Default index colors: -# color index yellow default '.*' -# color index_author red default '.*' -# color index_number blue default -# color index_subject cyan default '.*' -# -# # New mail is boldened: -# color index brightyellow black "~N" -# color index_author brightred black "~N" -# color index_subject brightcyan black "~N" -# -# # Tagged mail is highlighted: -# color index brightyellow blue "~T" -# color index_author brightred blue "~T" -# color index_subject brightcyan blue "~T" -# -# # Flagged mail is highlighted: -# color index brightgreen default "~F" -# color index_subject brightgreen default "~F" -# color index_author brightgreen default "~F" -# -# # Other colors and aesthetic settings: -# mono bold bold -# mono underline underline -# mono indicator reverse -# mono error bold -# color normal default default -# color indicator brightblack white -# color sidebar_highlight red default -# color sidebar_divider brightblack black -# color sidebar_flagged red black -# color sidebar_new green black -# 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 -# -# # Regex highlighting: -# color header brightmagenta default "^From" -# color header brightcyan default "^Subject" -# color header brightwhite default "^(CC|BCC)" -# color header blue 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 ` -# color body brightblue default "^# \.*" # Headings as bold blue -# color body brightcyan default "^## \.*" # Subheadings as bold cyan -# color body brightgreen default "^### \.*" # Subsubheadings as bold green -# color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow -# color body brightcyan default "[;:][-o][)/(|]" # emoticons -# color body brightcyan default "[;:][)(|]" # emoticons -# color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon? -# color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon? -# color body red default "(BAD signature)" -# color body cyan default "(Good signature)" -# color body brightblack default "^gpg: Good signature .*" -# color body brightyellow default "^gpg: " -# color body brightyellow red "^gpg: BAD signature from.*" -# mono body bold "^gpg: Good signature" -# 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 '.*' + +# New mail is boldened: +color index brightyellow black "~N" +color index_author brightred black "~N" +color index_subject brightcyan black "~N" + +# Tagged mail is highlighted: +color index brightyellow blue "~T" +color index_author brightred blue "~T" +color index_subject brightcyan blue "~T" + +# Flagged mail is highlighted: +color index brightgreen default "~F" +color index_subject brightgreen default "~F" +color index_author brightgreen default "~F" + +# Other colors and aesthetic settings: +mono bold bold +mono underline underline +mono indicator reverse +mono error bold +color normal default default +color indicator brightblack white +color sidebar_highlight red default +color sidebar_divider brightblack black +color sidebar_flagged red black +color sidebar_new green black +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 + +# Regex highlighting: +color header brightmagenta default "^From" +color header brightcyan default "^Subject" +color header brightwhite default "^(CC|BCC)" +color header blue 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 ` +color body brightblue default "^# \.*" # Headings as bold blue +color body brightcyan default "^## \.*" # Subheadings as bold cyan +color body brightgreen default "^### \.*" # Subsubheadings as bold green +color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow +color body brightcyan default "[;:][-o][)/(|]" # emoticons +color body brightcyan default "[;:][)(|]" # emoticons +color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon? +color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon? +color body red default "(BAD signature)" +color body cyan default "(Good signature)" +color body brightblack default "^gpg: Good signature .*" +color body brightyellow default "^gpg: " +color body brightyellow red "^gpg: BAD signature from.*" +mono body bold "^gpg: Good signature" +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<>\"]"