set kitty theme base on sunrise/sunset
This commit is contained in:
parent
26fbb91bac
commit
6bb7319472
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue