summaryrefslogtreecommitdiff
path: root/init.d/wireplumber
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/wireplumber')
-rwxr-xr-xinit.d/wireplumber12
1 files changed, 12 insertions, 0 deletions
diff --git a/init.d/wireplumber b/init.d/wireplumber
new file mode 100755
index 0000000..823ff2d
--- /dev/null
+++ b/init.d/wireplumber
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+
+depend() {
+ need pipewire dbus
+}
+
+DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR:-${RC_SVCDIR}}/bus"
+export DBUS_SESSION_BUS_ADDRESS
+
+command="/usr/bin/wireplumber"
+command_background=true
+pidfile="${XDG_RUNTIME_DIR-:${SVCDIR}}/wireplumber.pid"