diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-08-28 13:31:21 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-08-28 13:31:21 -0400 |
| commit | edde6779d4c6c279cd43e61bec2e9cbc9227d804 (patch) | |
| tree | ef63347714da317b32e793fc135d1182bd359991 /.xprofile | |
| parent | ec7d7bfec48fd4735db04a44fefaef15f4c6b0ed (diff) | |
| download | eibhear-edde6779d4c6c279cd43e61bec2e9cbc9227d804.tar.gz eibhear-edde6779d4c6c279cd43e61bec2e9cbc9227d804.tar.zst eibhear-edde6779d4c6c279cd43e61bec2e9cbc9227d804.zip | |
pulseaudio failsafe for brave/chromium
Diffstat (limited to '.xprofile')
| -rwxr-xr-x | .xprofile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -7,6 +7,12 @@ # Add this when you include flatpak in your system dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY +# Autostart Pulseaudio if installed and not already started by init. +# Chromium/Brave doesn't automatically start Pulse for some reason. +[ -x /usr/bin/pulseaudio ] && + ! pidof pulseaudio >/dev/null && + setsid -f pulseaudio --start >/dev/null 2>&1 + mpd & # music player daemon-you might prefer it as a service though remaps & # run the remaps script, switching caps/esc and more; check it for more info setbg & # set the background with the `setbg` script |
