This project provides two aliases: darken
and lighten
They will modify the start-up color themes of various applications (e.g. vim, zsh). I use them to switch between solarized-dark and solarized-light.
Maybe one day I'll make this fully generic so anyone can use it. For now, it may contain hard-coded references to other compoents in my home directory. You may still find it useful if you find those and change them to indicate your resources (maybe start by searching for '~').
requires https://github.com/altercation/vim-colors-solarized
colorscheme solarized
if !empty($CONSOLE_THEME)
let &bg=$CONSOLE_THEME
else
set bg=dark
endif
No configs necessary. Autosuggestion color set whether or not it is installed. Be sure to include zsh section (below) after you source zsh-autosuggestions.
No configs necessary. Easy motion highlight color set whether or not it is installed. Be sure to include zsh section (below) after you source zsh-easy-motion.
modify darken.sh or lighten.sh to provide a path to the preferred dircolors file.
(gnome 3 only) After sourcing darken.sh or lighten.sh, the default profile will be changed to the profile named in those files.
.zshrc / .bashrc
alias lighten='source ~/.config/colorshift/lighten.sh'
alias darken='source ~/.config/colorshift/darken.sh'
source $(cat ~/.config/colorshift/target_file.txt) &> /dev/null