summaryrefslogtreecommitdiff
path: root/mutt/colormutt
diff options
context:
space:
mode:
Diffstat (limited to 'mutt/colormutt')
-rw-r--r--mutt/colormutt11
1 files changed, 5 insertions, 6 deletions
diff --git a/mutt/colormutt b/mutt/colormutt
index 8967158..ddaa7ba 100644
--- a/mutt/colormutt
+++ b/mutt/colormutt
@@ -1,12 +1,11 @@
#!/bin/bash
-h=`date +%H`
-if [ $h -lt 9 ]; then
- theme=dark
-elif [ $h -lt 21 ]; then
+if [ "$COLORSCHEME" = "light" ]; then
theme=light
-else
+elif [ "$COLORSCHEME" = "dark" ]; then
theme=dark
+else
+ echo $COLORSCHEME
fi
-echo "/home/urbain/.solarized/mutt-colors-solarized/mutt-colors-solarized-"$theme"-16.muttrc"
+echo "/home/urbain/github/mutt-colors-solarized/mutt-colors-solarized-"$theme"-16.muttrc"