10 lines
393 B
Bash
10 lines
393 B
Bash
#!/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"
|
|
|
|
#fi
|