summaryrefslogtreecommitdiff
path: root/.config/systemd/user/wmii@.service
blob: 121a00432ad917987ca79bbcc889351be6681f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[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

[Service]
Environment=DISPLAY=%I

Type=notify
NotifyAccess=all
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