From b30ca735b60e5df2c30ab4eb7a6fe0eb0e7ecab7 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 3 Dec 2020 07:41:32 -0500 Subject: [PATCH] possible PA fix for arch machines --- .config/x11/xprofile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/x11/xprofile b/.config/x11/xprofile index 85bbec7..34ed7b8 100755 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -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