From bf38f0dc62b62d1ab9ce9c71dbbdcab6c012e0b7 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Wed, 9 May 2018 00:24:49 +0500 Subject: [PATCH] mutt: colors --- etc/mail/mutt/colors-default.mutt | 29 ++++++++++++++++++++ etc/mail/mutt/colors-soft-aqua.mutt | 40 +++++++++++++++++++++++++++ etc/mail/mutt/colors-soft-bluegray.mutt | 44 ++++++++++++++++++++++++++++++ etc/mail/mutt/colors-soft-yellowgreen.mutt | 42 ++++++++++++++++++++++++++++ etc/mail/mutt/colors-white-purple.mutt | 39 ++++++++++++++++++++++++++ etc/mail/mutt/colors.mutt | 29 -------------------- etc/mail/mutt/muttrc | 6 ++-- 7 files changed, 198 insertions(+), 31 deletions(-) create mode 100644 etc/mail/mutt/colors-default.mutt create mode 100644 etc/mail/mutt/colors-soft-aqua.mutt create mode 100644 etc/mail/mutt/colors-soft-bluegray.mutt create mode 100644 etc/mail/mutt/colors-soft-yellowgreen.mutt create mode 100644 etc/mail/mutt/colors-white-purple.mutt delete mode 100644 etc/mail/mutt/colors.mutt diff --git a/etc/mail/mutt/colors-default.mutt b/etc/mail/mutt/colors-default.mutt new file mode 100644 index 0000000..364a53a --- /dev/null +++ b/etc/mail/mutt/colors-default.mutt @@ -0,0 +1,29 @@ +#Изменён: Сб 24 авг 2013 20:10:04 + +#Цветовая гамма +color hdrdefault red default +color quoted brightblue default +color signature red default +color indicator blue green +color error brightred default +color status yellow blue +color tree magenta default +color tilde magenta default +color message brightcyan default +color markers brightcyan default +color attachment brightmagenta default +color search default green + +#Подсветка ключевых слов +color header brightred default ^(From|To|Cc|Reply-To|Subject): +color body blue default "(ftp|https?)://[^ ]+" +color body magenta default [-a-z_0-9.+]+@[-a-z_0-9.]+ +color underline brightgreen default + +#Выделение отмеченных сообщений +color index black white "~N !~T !~F !~p !~P" +color index black cyan "~T !~F !~p !~P" +color index red default "~F !~p !~P" + +#emails +color body brightmagenta default "((@(([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]\\])" diff --git a/etc/mail/mutt/colors-soft-aqua.mutt b/etc/mail/mutt/colors-soft-aqua.mutt new file mode 100644 index 0000000..26767f2 --- /dev/null +++ b/etc/mail/mutt/colors-soft-aqua.mutt @@ -0,0 +1,40 @@ +set allow_ansi=yes + +# color normal black color255 +color quoted color236 default +color quoted1 color242 default +color quoted2 color246 default +color quoted3 color252 default +color quoted4 cyan default +color quoted5 cyan default + +color indicator color117 black +color message color28 default +color status color109 color234 +color error color58 default +color attachment brightyellow default +color signature color252 default +color markers color104 default +color tilde color69 default +color search black color153 +color tree color108 default +color bold brightblack default + +color hdrdefault black default +color header brightgreen default '^Date:' +color header brightcyan default ^(From|To|Cc|Reply-To|Subject): + +color index color38 default ~N +color index color100 default ~F +color index color55 default ~T +color index color18 default ~D + +color body color18 default "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" +color body color66 default "mailto:[-a-z_0-9.]+ [-a-z_0-9.]+" +color body color18 default "news:[^ \">\t\r\n]*" +color body color112 default "[-a-z_0-9.%$]+ [-a-z_0-9.]+\\.[-a-z][-a-z]+" +color body color112 default "^.*(Autoview|Автопросмотр).*$" + +#emails +color body brightmagenta default "((@(([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]\\])" + diff --git a/etc/mail/mutt/colors-soft-bluegray.mutt b/etc/mail/mutt/colors-soft-bluegray.mutt new file mode 100644 index 0000000..8b06a88 --- /dev/null +++ b/etc/mail/mutt/colors-soft-bluegray.mutt @@ -0,0 +1,44 @@ +#----------------------------snip---------------------- + +set allow_ansi=yes + +# color normal black color255 +color quoted color236 color255 +color quoted1 color242 color255 +color quoted2 color246 color255 +color quoted3 color252 color255 +#color quoted4 cyan color255 +#color quoted5 cyan color255 + +color indicator black color254 +color message color28 color254 +color status color33 color236 +color error color58 color254 +color attachment black color254 +color signature color252 color254 +color markers color104 color254 +color tilde color69 color254 +color search black color153 +color tree color184 color255 +color bold brightblack color254 + +color hdrdefault black color254 +color header black color254 '^From:' +color header black color254 '^Subject:' +color header black color254 '^To:' + +color index color31 color255 ~N +color index color100 color254 ~F +color index color55 color254 ~T +color index color244 color255 ~D + +color body color18 color254 "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" +color body color37 color255 "mailto:[-a-z_0-9.]+ [-a-z_0-9.]+" +color body color18 color254 "news:[^ \">\t\r\n]*" +color body color61 color254 "[-a-z_0-9.%$]+ [-a-z_0-9.]+\\.[-a-z][-a-z]+" +color body color112 color254 "^.*Autoview.*$" + +#emails +color body brightmagenta default "((@(([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]\\])" + +#eof diff --git a/etc/mail/mutt/colors-soft-yellowgreen.mutt b/etc/mail/mutt/colors-soft-yellowgreen.mutt new file mode 100644 index 0000000..c7c1793 --- /dev/null +++ b/etc/mail/mutt/colors-soft-yellowgreen.mutt @@ -0,0 +1,42 @@ + +#-------------------snip----------------------- +set allow_ansi=yes + +color normal black color255 +color quoted color236 color255 +color quoted1 color242 color255 +color quoted2 color246 color255 +color quoted3 color252 color255 +#color quoted4 cyan color255 +#color quoted5 cyan color255 + +color indicator black color254 +color message color28 color254 +color status color143 color234 +color error color58 color254 +color attachment black color254 +color signature color252 color254 +color markers color104 color254 +color tilde color69 color254 +color search black color153 +color tree color184 color255 +color bold brightblack color254 + +color hdrdefault black color254 +color header black color254 '^From:' +color header black color254 '^Subject:' +color header black color254 '^To:' + +color index color28 color255 ~N +color index color100 color254 ~F +color index color55 color254 ~T +color index color244 color255 ~D + +color body color18 color254 "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" +color body color37 color255 "mailto:[-a-z_0-9.]+ [-a-z_0-9.]+" +color body color18 color254 "news:[^ \">\t\r\n]*" +color body color112 color254 "[-a-z_0-9.%$]+ [-a-z_0-9.]+\\.[-a-z][-a-z]+" +color body color112 color254 "^.*Autoview.*$" + + + diff --git a/etc/mail/mutt/colors-white-purple.mutt b/etc/mail/mutt/colors-white-purple.mutt new file mode 100644 index 0000000..818f42c --- /dev/null +++ b/etc/mail/mutt/colors-white-purple.mutt @@ -0,0 +1,39 @@ + +#-------------------snip----------------------- +set allow_ansi=yes + +color normal black default +color quoted color65 default +color quoted1 color138 default +color quoted2 color58 default +color quoted3 color105 default +color quoted4 cyan default +color quoted5 cyan default + +color indicator black color249 +color message green default +color status color139 color254 +color error color58 default +color attachment black default +color signature color253 default +color markers red yellow +color tilde black default +color search black green +color tree black default +color bold black default + +color hdrdefault black default +color header green default '^From:' +color header green default '^Subject:' +color header cyan default '^To:.*corky1951' + +color index color22 default ~N +color index blue default ~F +color index color55 default ~T +color index color52 default ~D + +color body color22 default "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" +color body color22 default "mailto:[-a-z_0-9.]+ [-a-z_0-9.]+" +color body color22 default "news:[^ \">\t\r\n]*" + +color body green default "[-a-z_0-9.%$]+ [-a-z_0-9.]+\\.[-a-z][-a-z]+" diff --git a/etc/mail/mutt/colors.mutt b/etc/mail/mutt/colors.mutt deleted file mode 100644 index 364a53a..0000000 --- a/etc/mail/mutt/colors.mutt +++ /dev/null @@ -1,29 +0,0 @@ -#Изменён: Сб 24 авг 2013 20:10:04 - -#Цветовая гамма -color hdrdefault red default -color quoted brightblue default -color signature red default -color indicator blue green -color error brightred default -color status yellow blue -color tree magenta default -color tilde magenta default -color message brightcyan default -color markers brightcyan default -color attachment brightmagenta default -color search default green - -#Подсветка ключевых слов -color header brightred default ^(From|To|Cc|Reply-To|Subject): -color body blue default "(ftp|https?)://[^ ]+" -color body magenta default [-a-z_0-9.+]+@[-a-z_0-9.]+ -color underline brightgreen default - -#Выделение отмеченных сообщений -color index black white "~N !~T !~F !~p !~P" -color index black cyan "~T !~F !~p !~P" -color index red default "~F !~p !~P" - -#emails -color body brightmagenta default "((@(([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]\\])" diff --git a/etc/mail/mutt/muttrc b/etc/mail/mutt/muttrc index 510ed3e..c0790bc 100644 --- a/etc/mail/mutt/muttrc +++ b/etc/mail/mutt/muttrc @@ -1,14 +1,16 @@ # muttrc # -# Изменён: Ср 25 окт 2017 09:53:58 +# Изменён: Ср 09 май 2018 00:24:19 # #Подключение конфигурационных файлов -source "$SHELLRC/etc/mail/mutt/colors.mutt" +source "$SHELLRC/etc/mail/mutt/colors-soft-aqua.mutt" source "$SHELLRC/etc/mail/mutt/keys.mutt" source "$SHELLRC/etc/mail/mutt/header.mutt" source "$SHELLRC/etc/mail/mutt/boxes.mutt" +# source "/home/maks/.shellrc/etc/mail/mutt/muttrc-white+purple" + #Автоматический просмотр html auto_view text/html