dotfiles/.config/darkman/scripts/desktop-notification.sh
2023-12-25 14:12:20 +03:00

8 lines
316 B
Bash
Executable File

#!/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"