darkrc/bin/termtheme

13 lines
205 B
Text
Raw Normal View History

2020-08-21 07:32:01 +00:00
#!/bin/sh
theme=$1
if which kitty; then
cat $HOME/darkrc/kitty_$theme.conf |\
grep '^[[:alpha:]]' |\
sed -s 's/ \+/=/' |\
sed -s 's/^.*$/set-colors --all \0/' |\
sort |\
kitty @ >/dev/null
fi