reve: add chore kitty

This commit is contained in:
yigid balaban 2024-04-22 11:30:49 +03:00
parent e0b7a93b48
commit f069fe8937

20
utility/chores/kitty.sh Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/env bash
#
# Yigid BALABAN, <fyb@fybx.dev>
# reve desktop environment 2024
#
# Chore:
# Set kitty theme according to given argument.
# Accepted args: d/dark l/light
KITTY="$HOME/.config/kitty"
case $1 in
'l' | 'light')
kitty +kitten themes --reload-in=all Rosé Pine Dawn ;;
'd' | 'dark')
kitty +kitten themes --reload-in=all Rosé Pine Moon ;;
*)
echo "Invalid argument. This chore accepts 'l/light' or 'd/dark'" ;;
esac