possible PA fix for arch machines

This commit is contained in:
Luke Smith 2020-12-03 07:41:32 -05:00
parent bfd7ef110c
commit b30ca735b6
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -15,4 +15,6 @@ unclutter & # Remove mouse when idle
# This line autostarts an instance of Pulseaudio that does not exit on idle.
# This is "necessary" on Artix due to a current bug between PA and
# Chromium-based browsers where they fail to start PA and use dummy output.
! pidof -s pulseaudio >/dev/null 2>&1 && setsid -f pulseaudio --start --exit-idle-time=-1 >/dev/null 2>&1
pidof -s runit &&
pidof -s ! pidof -s pulseaudio >/dev/null 2>&1 &&
setsid -f pulseaudio --start --exit-idle-time=-1 >/dev/null 2>&1