aboutsummaryrefslogtreecommitdiff
path: root/wayland-basics/dot-config/systemd/user/kanshi.service
diff options
context:
space:
mode:
Diffstat (limited to 'wayland-basics/dot-config/systemd/user/kanshi.service')
-rw-r--r--wayland-basics/dot-config/systemd/user/kanshi.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/wayland-basics/dot-config/systemd/user/kanshi.service b/wayland-basics/dot-config/systemd/user/kanshi.service
new file mode 100644
index 0000000..dd6227c
--- /dev/null
+++ b/wayland-basics/dot-config/systemd/user/kanshi.service
@@ -0,0 +1,15 @@
+[Unit]
+PartOf=graphical-session.target
+Description=Kanshi Wayland output manager
+After=graphical-session.target
+Requisite=graphical-session.target
+
+[Service]
+Type=exec
+ExecStart=/usr/bin/kanshi
+ExecReload=kill -SIGHUP $MAINPID
+Restart=on-failure
+Slice=background-graphical.slice
+
+[Install]
+WantedBy=graphical-session.target