summaryrefslogtreecommitdiff
path: root/.config/systemd/user/lxpanel@.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/lxpanel@.service')
-rw-r--r--.config/systemd/user/lxpanel@.service8
1 files changed, 5 insertions, 3 deletions
diff --git a/.config/systemd/user/lxpanel@.service b/.config/systemd/user/lxpanel@.service
index ecded87..3a0dc67 100644
--- a/.config/systemd/user/lxpanel@.service
+++ b/.config/systemd/user/lxpanel@.service
@@ -2,14 +2,16 @@
Description=LXDE Desktop Panel on X display %I
Documentation=man:lxpanel(1)
StopWhenUnneeded=true
-After=wm@%i.target
+After=X11@%i.target wm-running@%i.target
+Requisite=X11@%i.target
+Requires=wm-running@%i.target
Before=panel@%i.target
[Service]
-Type=simple
Environment=DISPLAY=%I
+
+Type=simple
ExecStart=/usr/bin/lxpanel
-Restart=always
[Install]
RequiredBy=panel@%i.target