summaryrefslogtreecommitdiff
path: root/.config/systemd/user/wmii@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-03 11:01:50 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-03 11:03:42 -0500
commita41c113539cab32ccf697219ef024735bc6fd866 (patch)
tree3b9764754f0655764c7599bbd975a5bb5a87e2f5 /.config/systemd/user/wmii@.service
parentc044c568a8c6aa80b4ea52312baaa8fb8f34342f (diff)
systemd: wmii@: do the handshake by attaching an FD to wmii itself
Diffstat (limited to '.config/systemd/user/wmii@.service')
-rw-r--r--.config/systemd/user/wmii@.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/systemd/user/wmii@.service b/.config/systemd/user/wmii@.service
index 12f585b..3902627 100644
--- a/.config/systemd/user/wmii@.service
+++ b/.config/systemd/user/wmii@.service
@@ -7,6 +7,5 @@ Type=simple
Restart=no
Environment=DISPLAY=%I
-ExecStart=/usr/bin/bash -l -c /usr/bin/wmii
+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
-ExecStopPost=/usr/bin/timeout .1 bash -c ": > ${XDG_RUNTIME_DIR}/x11-wm@%I"