summaryrefslogtreecommitdiff
path: root/runit/sv/mpd-mpris/run
blob: 3883e70a908127094c50b68c71cd6d95a99aed52 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# Wait for the PipeWire Pulse daemon to start.
sv check "$HOME/.config/runit/sv/mpd" >/dev/null || exit 1

[ -r ./conf ] && . ./conf

exec mpd-mpris ${OPTS:--network unix} 2>&1