From 71603d0f0dad52ddc0ba0c331aa9c561c29c1adc Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Wed, 26 Apr 2017 12:44:12 +0530 Subject: [PATCH] mutt: Use 'night' theme --- .config/mutt/colors.night | 36 ++++++++++++++++++++++++++++++++++++ .config/mutt/muttrc | 2 +- .config/mutt/sidebar.sh | 6 +++++- 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 .config/mutt/colors.night diff --git a/.config/mutt/colors.night b/.config/mutt/colors.night new file mode 100644 index 00000000..a96988b9 --- /dev/null +++ b/.config/mutt/colors.night @@ -0,0 +1,36 @@ +## 256 colors Night theme + +set my_bg = default +set my_new = color142 +set my_old = color172 +set my_uri = color108 +set my_flag = color46 +set my_tag = color116 +set my_tag_bg = color238 + +set my_address = color69 +set my_from = color201 +set my_to = color39 +set my_cc = green +set my_bcc = green +set my_replyto = green +set my_subject = brightred +set my_inreplyto = green +set my_date = yellow +set my_x = blue +set my_sig = brightblack +set my_attach = color116 +set my_attach_bg = color238 +set my_status = color45 +set my_status_bg = color234 +set my_indicator = color45 +set my_indicator_bg = color235 + +set my_quote0 = color28 +set my_quote1 = color29 +set my_quote2 = color30 +set my_quote3 = color31 +set my_quote4 = color32 +set my_quote5 = color33 +set my_quote6 = color39 +set my_quote7 = color38 diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index ffbdd0cb..fb10e3a4 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc @@ -249,7 +249,7 @@ macro index,pager \CL "$my_index_format_pre"F"$my_index_format_po ## Set color variables from a theme. # source "$my_configdir/colors.classic" -source "$my_configdir/colors.zenburn" +source "$my_configdir/colors.night" ## Fallback for terminals without 256 colors. This needs to be a shell script so ## that it can check for terminal capabilities. diff --git a/.config/mutt/sidebar.sh b/.config/mutt/sidebar.sh index cb6ef476..0a36428f 100755 --- a/.config/mutt/sidebar.sh +++ b/.config/mutt/sidebar.sh @@ -6,13 +6,17 @@ if [ -n "$(man muttrc | grep sidebar)" ]; then set sidebar_visible = yes set sidebar_width = 24 set sidebar_sort_method = alpha -set sidebar_divider_char=' ' +set sidebar_divider_char='│' set sidebar_short_path = yes set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S" set sidebar_folder_indent = yes ## Color of folders with new mail color sidebar_new $my_new $my_bg +color sidebar_flagged white $my_bg +# color sidebar_divider $my_status $my_status_bg +color sidebar_divider $my_flag $my_bg +color sidebar_highlight white $my_status_bg ## Ctrl-n, Ctrl-p to select next, previous folder. ## Ctrl-o to open selected folder