From a41c113539cab32ccf697219ef024735bc6fd866 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 3 Feb 2015 11:01:50 -0500 Subject: systemd: wmii@: do the handshake by attaching an FD to wmii itself --- .config/systemd/user/wmii@.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.config/systemd') 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" -- cgit v1.2.3