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 /zshrc | |
parent | 5fe49cc123b1cc363e1cf6305884c64e71f73670 (diff) |
Define programs colorscheme based on default
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -154,12 +154,21 @@ fi export TERM=xterm-256color export COLORSCHEME=light +default() { + $HOME/.bin/recolor.sh < ~/.Xresources.default + xrdb ~/.Xresources.default + export COLORSCHEME=default + sed -i "s/export COLORSCHEME=.*/export COLORSHEME=default/g" ~/.zshrc +} + light() { + $HOME/.bin/recolor.sh < ~/.Xresources.light xrdb ~/.Xresources.light export COLORSCHEME=light } dark() { + $HOME/.bin/recolor.sh < ~/.Xresources.dark xrdb ~/.Xresources.dark export COLORSCHEME=dark } |