@ -0,0 +1,19 @@
#! /usr/bin/env bash
# kitty
PATH_THEME="$XDG_CONFIG_HOME/kitty/themes"
case "$1" in
light)
cp "$PATH_THEME/onehalf-light.conf" "$PATH_THEME/current.conf"
;;
dark)
cp "$PATH_THEME/onehalf-dark.conf" "$PATH_THEME/current.conf"
esac
kitty @ set-colors --all "$PATH_THEME/current.conf" > /dev/null
tput sgr0
tput op