diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-12-03 07:41:32 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-12-03 07:41:32 -0500 |
| commit | b30ca735b60e5df2c30ab4eb7a6fe0eb0e7ecab7 (patch) | |
| tree | de73d4f3704cae325521ebb0cab9d08d6bd8f154 /.config | |
| parent | bfd7ef110c3a205dc13ddb6c63d4c0d19f13ceaa (diff) | |
| download | eibhear-b30ca735b60e5df2c30ab4eb7a6fe0eb0e7ecab7.tar.gz eibhear-b30ca735b60e5df2c30ab4eb7a6fe0eb0e7ecab7.tar.zst eibhear-b30ca735b60e5df2c30ab4eb7a6fe0eb0e7ecab7.zip | |
possible PA fix for arch machines
Diffstat (limited to '.config')
| -rwxr-xr-x | .config/x11/xprofile | 4 |
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 |
