summaryrefslogtreecommitdiff
path: root/.config/systemd/user/wmii@.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 18:31:31 -0500
commit10de71240a14b1fd5e7c9f788fbddb0ca6da664b (patch)
treefabef4e9d99683cab2da66c3a5d032352d2aff9e /.config/systemd/user/wmii@.service
parent1dcd53b0d46b46eb9f252b5dfbb2300ba5bf4641 (diff)
X11 systemd stuff
Diffstat (limited to '.config/systemd/user/wmii@.service')
-rw-r--r--.config/systemd/user/wmii@.service10
1 files changed, 6 insertions, 4 deletions
diff --git a/.config/systemd/user/wmii@.service b/.config/systemd/user/wmii@.service
index 4a81e3f..f1e87df 100644
--- a/.config/systemd/user/wmii@.service
+++ b/.config/systemd/user/wmii@.service
@@ -1,17 +1,19 @@
[Unit]
Description=Window Manager Improved Improved on X display %I
Documentation=file:/usr/share/doc/wmii/wmii.pdf
-Before=wm@%i.target
-StopWhenUnneeded=true
+After=X11@%i.target
+Requisite=X11@%i.target
+Before=wm-running@%i.target
[Service]
+Environment=DISPLAY=%I
+
# This assumes that you write READY=1 to $NOTIFY_SOCKET in wmiirc
Type=notify
NotifyAccess=all
-Environment=DISPLAY=%I
ExecStart=/usr/bin/bash -l -c 'exec 8>${XDG_RUNTIME_DIR}/x11-wm@%I; exec /usr/bin/wmii'
ExecStop=/usr/bin/wmiir xwrite /ctl Quit
[Install]
-RequiredBy=wm@%i.service
+RequiredBy=X11@%i.target