diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-07-10 17:10:37 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-07-10 17:10:37 +0100 |
commit | ee6ccb20f556a343d090ad35abee6e1f99457472 (patch) | |
tree | 86a3acf2b0ec4e14c4ff8913f6478472ae657ffc /mutt | |
parent | 5fe49cc123b1cc363e1cf6305884c64e71f73670 (diff) |
Define programs colorscheme based on default
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" |