possible PA fix for arch machines
This commit is contained in:
parent
bfd7ef110c
commit
b30ca735b6
1 changed files with 3 additions and 1 deletions
|
@ -15,4 +15,6 @@ unclutter & # Remove mouse when idle
|
||||||
# This line autostarts an instance of Pulseaudio that does not exit on 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
|
# 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.
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue