summaryrefslogtreecommitdiff
path: root/.config/systemd/user/dunst@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 18:31:31 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:06:11 -0500
commit5e5e5029e76d88b3887bb175e28709a9022323a8 (patch)
treeeb77f3f626988f6592a6d51b2e08914f290b896b /.config/systemd/user/dunst@.service
parentc2ee55d77f093d7a5abf8118870900b866dbba52 (diff)
X11 systemd stuff
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