You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
361 B
19 lines
361 B
#! /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
|
|
|