set kitty theme base on sunrise/sunset

This commit is contained in:
jc 2024-06-04 23:46:26 -04:00
commit 6bb7319472
No known key found for this signature in database

View file

@ -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