Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 28 lines (25 sloc) 0.84 kb
#!/bin/bash
# change this if you want to install the colorscheme some place other
KOD_DIR="$HOME/.kod"
if [[ "`pwd`" == *kod-solarized* ]]; then
if [ -d $KOD_DIR ]; then
cp -P mystyle_solarized.css $KOD_DIR/solarized.css
defaults write se.hunch.kod style/url ~/.kod/solarized.css
if [[ `ps aux | grep -v grep | grep Kod` ]]; then
killall Kod
fi
echo "solarized is now installed from $KOD_DIR"
echo 'keep that directory intact'
else
mkdir $KOD_DIR
cp -P mystyle_solarized.css $KOD_DIR/solarized.css
defaults write se.hunch.kod style/url ~/.kod/solarized.css
if [[ `ps aux | grep -v grep | grep Kod` ]]; then
killall Kod
fi
echo "solarized is now installed from $KOD_DIR"
echo "keep that directory intact"
fi
else
echo 'start the script from the git directory'
fi
Jump to Line
Something went wrong with that request. Please try again.