From f069fe893710c7c8365e9d6bc0bf3e9f86e210ed Mon Sep 17 00:00:00 2001 From: Yigid BALABAN Date: Mon, 22 Apr 2024 11:30:49 +0300 Subject: [PATCH] reve: add chore kitty --- utility/chores/kitty.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 utility/chores/kitty.sh 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