feat: use kitty auto dark mode added in 0.38.0

This commit is contained in:
grassblock 2025-01-01 11:23:15 +08:00
parent 4563589831
commit 2976fbab63
10 changed files with 63 additions and 18 deletions

View file

@ -1,6 +1,10 @@
#!/usr/bin/env bash
# add a detection to prevent exec scripts on every login
#if [[ "$(darkman get)" =~ "dark" ]]; then
# trigger a small, passive popup dialog to inform the user about darkman's activity
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
notify-send --app-name="darkman" --urgency=low --icon=weather-clear "switching to light mode"
notify-send --app-name="darkman" --urgency=low --icon=weather-clear "switching to light mode"
#fi