blob: cd58a72b6eb706d0400e966b9890dedda737059d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/usr/bin/openrc-run
# Work based on file by "Gentoo Authors", 2022
# Modified for Artix Linux by dreieck, 2023
# Distributed under the terms of the GNU General Public License v2
PIPEWIRE_RUNTIME_DIR="/run/pipewire"
DBUS_SESSION_BUS_ADDRESS="unix:path=/run/dbus/system_bus_socket"
name="pipewire automatic session manager"
description="On demand pipewire management"
command=/usr/bin/wireplumber
command_args="${wirplumber_args[@]}"
command_background=yes
command_user="pipewire:pipewire"
pidfile="${PIPEWIRE_RUNTIME_DIR}/wireplumber.pid"
depend() {
need dbus pipewire
}
start_pre() {
export PIPEWIRE_RUNTIME_DIR
export DBUS_SESSION_BUS_ADDRESS
}
|