summaryrefslogtreecommitdiff
path: root/.config/systemd/user/dunst@.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/dunst@.service')
-rw-r--r--.config/systemd/user/dunst@.service7
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/systemd/user/dunst@.service b/.config/systemd/user/dunst@.service
index 568af3f..265845b 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
+
+Type=simple
ExecStart=/usr/bin/dunst
-Restart=always