diff options
Diffstat (limited to 'mutt')
-rw-r--r-- | mutt/colormutt | 11 | ||||
-rw-r--r-- | mutt/muttrc | 3 |
2 files changed, 2 insertions, 12 deletions
diff --git a/mutt/colormutt b/mutt/colormutt deleted file mode 100644 index ddaa7ba..0000000 --- a/mutt/colormutt +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -if [ "$COLORSCHEME" = "light" ]; then - theme=light -elif [ "$COLORSCHEME" = "dark" ]; then - theme=dark -else - echo $COLORSCHEME -fi - -echo "/home/urbain/github/mutt-colors-solarized/mutt-colors-solarized-"$theme"-16.muttrc" diff --git a/mutt/muttrc b/mutt/muttrc index 10b07e1..417c73e 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -84,7 +84,8 @@ bind pager k previous-entry bind pager R group-reply # Source mutt solarized -source `sh /home/urbain/.mutt/colormutt` +`[ "$COLORSCHEME" = "light" ] && echo source $HOME/github/mutt-colors-solarized/mutt-colors-solarized-light-16.muttrc || echo set` +`[ "$COLORSCHEME" = "dark" ] && echo source $HOME/github/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc || echo set` # Colors color index brightblue default "~f edfenergy" |