summaryrefslogtreecommitdiff
path: root/.config/systemd/user/wmii@.service
blob: c939221e67bb410e86ccd75343f5e5cc4302ffe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
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 /usr/bin/wmii'
ExecStop=/usr/bin/env wmiir xwrite /ctl Quit

[Install]
RequiredBy=X11@%i.target