diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-02-27 18:31:31 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-02-27 18:31:31 -0500 |
commit | 10de71240a14b1fd5e7c9f788fbddb0ca6da664b (patch) | |
tree | fabef4e9d99683cab2da66c3a5d032352d2aff9e /.config/systemd/user/wmii@.service | |
parent | 1dcd53b0d46b46eb9f252b5dfbb2300ba5bf4641 (diff) |
X11 systemd stuff
Diffstat (limited to '.config/systemd/user/wmii@.service')
-rw-r--r-- | .config/systemd/user/wmii@.service | 10 |
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 |