From 6bb731947248e5c38e99adbc4be058c2f610b6a2 Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Tue, 4 Jun 2024 23:46:26 -0400 Subject: [PATCH] set kitty theme base on sunrise/sunset --- kitty/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/setup.sh b/kitty/setup.sh index 8f81f2f..7eb7b97 100755 --- a/kitty/setup.sh +++ b/kitty/setup.sh @@ -63,7 +63,7 @@ if [ $NOW -ge $SUNRISE_MINUTES ] && [ $NOW -lt $SUNSET_MINUTES ]; then MODE=light fi if [ $MODE == "light" ]; then - echo "load light theme" + kitten @ set-colors --all "$HOME/.config/kitty/light.conf" else - echo "load dark theme" + kitten @ set-colors --all "$HOME/.config/kitty/dark.conf" fi