diff --git a/utility/chores/kitty.sh b/utility/chores/kitty.sh new file mode 100755 index 0000000..397820b --- /dev/null +++ b/utility/chores/kitty.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +# +# Yigid BALABAN, +# 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