add darkman

This commit is contained in:
Joel Beckmeyer
2026-05-18 21:19:00 -04:00
parent 528ed9b0b7
commit e9cd7c268a
5 changed files with 52 additions and 0 deletions
@@ -0,0 +1,12 @@
#!/usr/bin/env sh
# 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
case "$1" in
dark) ICON=weather-clear-night ;;
light) ICON=weather-clear ;;
default) exit 1 ;;
esac
notify-send --app-name="darkman" --urgency=low --icon="$ICON" "switching to $1 mode"