From 5e5e5029e76d88b3887bb175e28709a9022323a8 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 27 Feb 2016 18:31:31 -0500 Subject: X11 systemd stuff --- .config/systemd/user/wmii@.service | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to '.config/systemd/user/wmii@.service') 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 -- cgit v1.2.3