Skip to content

MatrixManAtYrService/colorshift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 '~').

Integrations

vim

requires https://github.com/altercation/vim-colors-solarized

colorscheme solarized

if !empty($CONSOLE_THEME)
    let &bg=$CONSOLE_THEME
else
    set bg=dark
endif

zsh-autosuggestions

No configs necessary. Autosuggestion color set whether or not it is installed. Be sure to include zsh section (below) after you source zsh-autosuggestions.

zsh-easy-motion

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.

dircolors

modify darken.sh or lighten.sh to provide a path to the preferred dircolors file.

gnome-terminal

(gnome 3 only) After sourcing darken.sh or lighten.sh, the default profile will be changed to the profile named in those files.

zsh/bash

.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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages