diff options
Diffstat (limited to '.config/systemd/user/dunst@.service')
-rw-r--r-- | .config/systemd/user/dunst@.service | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.config/systemd/user/dunst@.service b/.config/systemd/user/dunst@.service index 568af3f..74d2447 100644 --- a/.config/systemd/user/dunst@.service +++ b/.config/systemd/user/dunst@.service @@ -1,10 +1,11 @@ [Unit] Description=Dunst notification-daemon on X display %I Documentation=man:dunst(1) -StopWhenUnneeded=true +After=X11@%i.target +Requisite=X11@%i.target [Service] -Type=simple Environment=DISPLAY=%I -ExecStart=/usr/bin/dunst -Restart=always + +Type=simple +ExecStart=/usr/bin/env dunst |