From ee6ccb20f556a343d090ad35abee6e1f99457472 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 10 Jul 2015 17:10:37 +0100 Subject: Define programs colorscheme based on default --- mutt/colormutt | 11 ----------- mutt/muttrc | 3 ++- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 mutt/colormutt (limited to 'mutt') 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" -- cgit v1.2.3