dunst: Update dunstctl for comatibility with upstream script

This commit is contained in:
2022-01-14 16:31:19 +01:00
parent 0228edc5c7
commit 7661621c00
3 changed files with 7 additions and 7 deletions

View File

@@ -8,13 +8,13 @@ log() {
printf '[%s] %s\n' "$(date -uIseconds)" "$*" >> "$_logfile"
}
case "$1" in
enable)
case "$1 $2" in
"set-paused false")
log "Enabling dunst"
systemctl --user --no-block kill --signal SIGUSR2 dunst
;;
disable)
"set-paused true")
log "Disabling dunst"
systemctl --user --no-block kill --signal SIGUSR1 dunst
;;