Skip to content
Permalink
fed147052a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 18 lines (16 sloc) 314 Bytes
#!/bin/zsh
if ! command -v kitty >/dev/null; then
exit 1
fi
case "$1" in
"light")
kitty @ set-colors -a -c "$HOME/.config/kitty/themes/base16-tomorrow.conf"
;;
"dark")
kitty @ set-colors -a -c "$HOME/.config/kitty/themes/base16-twilight.conf"
;;
*)
cat <<EOF
usage: chtheme [light|dark]
EOF
esac