summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rwxr-xr-x.config/x11/xprofile4
1 files changed, 3 insertions, 1 deletions
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