diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-08-13 01:48:01 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-08-13 16:39:27 -0400 |
commit | b6ca8ce55f0a850e18ef032dbe0aefffaf1be2ec (patch) | |
tree | ba2af1c4ce8e0040f8cdd792c4265128e55beaea /.config/systemd/user/wmii@.service | |
parent | 29028d9b2b3df8aafb6a766c074e55bf8f452437 (diff) |
Spend way too long fighting with wmii
Diffstat (limited to '.config/systemd/user/wmii@.service')
-rw-r--r-- | .config/systemd/user/wmii@.service | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/.config/systemd/user/wmii@.service b/.config/systemd/user/wmii@.service index 6707b9a..121a004 100644 --- a/.config/systemd/user/wmii@.service +++ b/.config/systemd/user/wmii@.service @@ -3,17 +3,12 @@ Description=Window Manager Improved Improved on X display %I Documentation=file:/usr/share/doc/wmii/wmii.pdf 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 - -ExecStart=/usr/bin/env bash -c 'exec 8>${XDG_RUNTIME_DIR}/x11-wm@%I; exec wmii' -ExecStop=/usr/bin/env wmiir xwrite /ctl Quit - -[Install] -RequiredBy=X11@%i.target +ExecStart=/usr/bin/env bash -c 'exec 8>%t/x11-wm@%I; echo "$DISPLAY"; exec wmii -a unix!%t/.%N.sock -r ${XDG_CONFIG_HOME}/systemd/user/wmiirc' +ExecStop=/usr/bin/env wmiir -a unix!%t/.%N.sock xwrite /ctl Quit +ExecStopPost=/bin/rm -f -- %t/.%N.sock |