dotfiles/.config/darkman/scripts/desktop-notification.sh

8 lines
316 B
Bash
Raw Normal View History

2023-12-25 12:07:42 +01:00
#!/usr/bin/env bash
# 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
theme=$(darkman get)
notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "switching to $theme mode"