summaryrefslogtreecommitdiffstats
path: root/.config/x11/xprofile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-11-29 09:09:30 -0500
committerLuke Smith <luke@lukesmith.xyz>2020-11-29 09:09:30 -0500
commitfbc42104c01eef896c6c094c332eb7304d2cec02 (patch)
treecb22c3b0b08a49d9483a7e347954bae61992c67e /.config/x11/xprofile
parent941b14bfe73d680cb7fb79f357bd2d73f64d7acf (diff)
downloadeibhear-fbc42104c01eef896c6c094c332eb7304d2cec02.tar.gz
eibhear-fbc42104c01eef896c6c094c332eb7304d2cec02.tar.zst
eibhear-fbc42104c01eef896c6c094c332eb7304d2cec02.zip
pulseaudio fix for artix
Diffstat (limited to '.config/x11/xprofile')
-rwxr-xr-x.config/x11/xprofile5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/x11/xprofile b/.config/x11/xprofile
index fe5f90e..85bbec7 100755
--- a/.config/x11/xprofile
+++ b/.config/x11/xprofile
@@ -11,3 +11,8 @@ xcompmgr & # xcompmgr for transparency
dunst & # dunst for notifications
xset r rate 300 50 & # Speed xrate up
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