summaryrefslogtreecommitdiff
path: root/.config/systemd/user/wmii@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 00:48:11 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 00:48:11 -0500
commita9935b7a12a522937d91cb44a0e138132b555e16 (patch)
tree379c9846d85a43c8fdeefcf268e3ea0e10891758 /.config/systemd/user/wmii@.service
parent435a7b5e8e590240340232cc1832ead32b87adc6 (diff)
Re-jigger to use systemd for the process monitor for the window manager
Diffstat (limited to '.config/systemd/user/wmii@.service')
-rw-r--r--.config/systemd/user/wmii@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/systemd/user/wmii@.service b/.config/systemd/user/wmii@.service
new file mode 100644
index 0000000..10fc4e9
--- /dev/null
+++ b/.config/systemd/user/wmii@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Window Manager Improved Improved
+Documentation=file:/usr/share/doc/wmii/wmii.pdf
+
+[Service]
+Type=simple
+Restart=no
+
+Environment=DISPLAY=%I
+ExecStart=/usr/bin/bash -l -c /usr/bin/wmii
+ExecStop=/usr/bin/wmiir xwrite /ctl Quit
+ExecStopPost=/usr/bin/bash -c ": > ${XDG_RUNTIME_DIR}/x11-wm@%I"