summaryrefslogtreecommitdiff
path: root/.config/systemd/user/wmii@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:12:38 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:12:38 -0500
commit4e802e740bb2f7c6891271d3eaab39768360e261 (patch)
tree52cd247d9ffabab2f5cfb9f7821fbafbb27678f7 /.config/systemd/user/wmii@.service
parentbd42aa1b31e2e41cac7ac2ffa6edc05e04354815 (diff)
parentd09fa8687ee01dcb4ef540deb106b8531f56b403 (diff)
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/systemd/user/wmii@.service')
-rw-r--r--.config/systemd/user/wmii@.service14
1 files changed, 8 insertions, 6 deletions
diff --git a/.config/systemd/user/wmii@.service b/.config/systemd/user/wmii@.service
index 4a81e3f..c939221 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
+ExecStart=/usr/bin/env bash -c 'exec 8>${XDG_RUNTIME_DIR}/x11-wm@%I; exec /usr/bin/wmii'
+ExecStop=/usr/bin/env wmiir xwrite /ctl Quit
[Install]
-RequiredBy=wm@%i.service
+RequiredBy=X11@%i.target