aboutsummaryrefslogtreecommitdiff
path: root/dot_config/systemd/user/kanshi.service
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2025-02-19 12:36:07 -0500
committerRyan Kavanagh <rak@rak.ac>2025-02-20 10:15:44 -0500
commita1dbd4747d9b65d98388995b2e9243a9968015d5 (patch)
treea77eb4e0fa2a37cc17ea291d8dd083f62c4dcdb2 /dot_config/systemd/user/kanshi.service
parentfix fringe indicators frl (diff)
Refactor sway config to let systemd manage subservices like kanshi and swayidle
Diffstat (limited to 'dot_config/systemd/user/kanshi.service')
-rw-r--r--dot_config/systemd/user/kanshi.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/dot_config/systemd/user/kanshi.service b/dot_config/systemd/user/kanshi.service
new file mode 100644
index 0000000..381b9e4
--- /dev/null
+++ b/dot_config/systemd/user/kanshi.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Dynamic output configuration
+Documentation=man:kanshi(1)
+PartOf=wayland-session.target
+Requires=wayland-session.target
+After=wayland-session.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/kanshi
+Restart=always
+
+[Install]
+WantedBy=wayland-session.target