dotfiles/.runit/sv/pipewire-media-session/run

13 lines
287 B
Text
Raw Permalink Normal View History

2023-12-24 21:05:52 +01:00
#!/bin/sh
# Wait for the PipeWire daemon to start.
sv check "$HOME/.runit/sv/pipewire" >/dev/null || exit 1
[ -r ./conf ] && . ./conf
if [ "${LOGGING_ENABLE}x" = "1x" -a -n "${LOG_LEVEL}" ]; then
export PIPEWIRE_DEBUG="${LOG_LEVEL}"
fi
exec pipewire-media-session ${OPTS:-} 2>&1