summaryrefslogtreecommitdiffstatshomepage
path: root/sway/.config/systemd/user/swayidle.service
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-07-28 02:04:04 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-07-28 02:04:04 -0500
commit6709696f16b4f9da5f136b0ce622a76891fe2cb5 (patch)
treef4b24e5c019abb030e04ab6bc69921c538796b1d /sway/.config/systemd/user/swayidle.service
parentd0a931058786bcddd74115c0b1065502d6a6f7fa (diff)
feat(sway): improve sway config
Diffstat (limited to 'sway/.config/systemd/user/swayidle.service')
-rw-r--r--sway/.config/systemd/user/swayidle.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/sway/.config/systemd/user/swayidle.service b/sway/.config/systemd/user/swayidle.service
new file mode 100644
index 0000000..db8f04b
--- /dev/null
+++ b/sway/.config/systemd/user/swayidle.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Idle management daemon for Wayland
+Documentation=man:swayidle(1)
+PartOf=sway-session.target
+After=sway-session.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/swayidle -w
+Restart=on-failure
+
+[Install]
+WantedBy=sway-session.target