summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorBlake Romero <blake@developercraft.com>2025-11-09 17:05:34 +0000
committerBlake Romero <blake@developercraft.com>2025-11-09 17:05:34 +0000
commit7d3af45f5589705b85dbbeb66dece75809f1e4f1 (patch)
tree1b87c75ce6ba23728a60b649d29585bad36187c3 /init.d
parent991c54c41bb86f6c393abe68fb1ece4c6f3e3976 (diff)
Add sway-audio-idle-inhibit serviceHEADmain
Diffstat (limited to 'init.d')
-rwxr-xr-xinit.d/sway-audio-idle-inhibit9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.d/sway-audio-idle-inhibit b/init.d/sway-audio-idle-inhibit
new file mode 100755
index 0000000..6b12a44
--- /dev/null
+++ b/init.d/sway-audio-idle-inhibit
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+
+description="Inhibit system sleep while an application is receiving audio"
+
+command="sway-audio-idle-inhibit"
+command_args=""
+
+supervisor=supervise-daemon
+error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"