Fix systemd user unit names in scripts

This commit is contained in:
2020-12-11 20:05:55 +01:00
parent 6ede93b0e9
commit 2dc1b6387e
3 changed files with 18 additions and 5 deletions

View File

@@ -11,12 +11,12 @@ log() {
case "$1" in
enable)
log "Enabling dunst"
systemctl --user --no-block kill --signal SIGUSR2 dunst_user
systemctl --user --no-block kill --signal SIGUSR2 user:dunst
;;
disable)
log "Disabling dunst"
systemctl --user --no-block kill --signal SIGUSR1 dunst_user
systemctl --user --no-block kill --signal SIGUSR1 user:dunst
;;
*)
>&2 printf 'Unknown command\n'