improve starting of pulseaudio

This commit is contained in:
Jason Goulet-Lipman 2021-03-19 22:38:00 -04:00
parent 87c2950039
commit 4dd8488f10
3 changed files with 3 additions and 7 deletions

1
.asoundrc Symbolic link
View File

@ -0,0 +1 @@
.config/alsa/asoundrc

2
.config/alsa/asoundrc Normal file
View File

@ -0,0 +1,2 @@
pcm.default pulse
ctl.default pulse

View File

@ -11,10 +11,3 @@ 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 runit &&
! pidof -s pulseaudio >/dev/null 2>&1 &&
setsid -f pulseaudio --start --exit-idle-time=-1 >/dev/null 2>&1