summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-08-08 16:16:34 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-08-08 16:16:34 -0500
commit9a4db7fbeee44afb0a70a1f0772a73ebe65d2eb1 (patch)
treed7359644d413f0613384a9be45f4474c1637e9ef
parentd64310c1452e4467c6c1451f9dbee7807f82190e (diff)
feat(sway): add service for wl-mpris-idle-inhibit
-rw-r--r--wayland/.config/systemd/user/wl-mpris-idle-inhibit.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/wayland/.config/systemd/user/wl-mpris-idle-inhibit.service b/wayland/.config/systemd/user/wl-mpris-idle-inhibit.service
new file mode 100644
index 0000000..be67705
--- /dev/null
+++ b/wayland/.config/systemd/user/wl-mpris-idle-inhibit.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Idle management daemon for Wayland
+PartOf=wayland-session.target
+After=wayland-session.target
+ConditionFileIsExecutable=/usr/bin/wl-mpris-idle-inhibit
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/wl-mpris-idle-inhibit
+Restart=on-failure
+
+[Install]
+WantedBy=wayland-session.target