aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/swayidle.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/systemd/user/swayidle.service b/.config/systemd/user/swayidle.service
new file mode 100644
index 0000000..2d0fcc1
--- /dev/null
+++ b/.config/systemd/user/swayidle.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Idle manager for Wayland
+Documentation=man:swayidle(1)
+BindsTo=sway-session.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/swayidle -w
+
+[Install]
+WantedBy=sway-session.target