vp-build/srcpkgs/wireplumber/files/wireplumber/run

11 lines
333 B
Bash

#!/bin/sh
# this service is experimental and most setups should start pipewire and wireplumber as a user,
# for further information, please refer to the handbook
sv check dbus >/dev/null 2>&1 || exit 1
exec 2>&1
export XDG_STATE_HOME=/var/lib/pipewire
exec chpst -u _pipewire:_pipewire:audio:video -P dbus-run-session wireplumber