aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sway/.config/systemd/user
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-08-21 16:43:30 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-08-21 16:43:30 -0500
commit26d7a5eabb2c7de3c7f6b05a3445a33f46d9fb9d (patch)
treea9f431ca0e54e5a6da86486b317011d69b01a5e4 /sway/.config/systemd/user
parent6bba88716dc30c77cf5937dd3d59b65d4e3f8ece (diff)
feat(sway): add idle inhibitor bridge
Diffstat (limited to 'sway/.config/systemd/user')
-rw-r--r--sway/.config/systemd/user/inhibridge.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/sway/.config/systemd/user/inhibridge.service b/sway/.config/systemd/user/inhibridge.service
new file mode 100644
index 0000000..9523a61
--- /dev/null
+++ b/sway/.config/systemd/user/inhibridge.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Simple daemon that bridges freedesktop.org ScreenSaver inhibitions to systemd-inhibit
+PartOf=graphical-session.target
+After=graphical-session.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/inhibridge
+Restart=on-failure
+
+[Install]
+WantedBy=graphical-session.target