diff options
Diffstat (limited to 'bin/executable_mpd_only.sh')
-rwxr-xr-x | bin/executable_mpd_only.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/executable_mpd_only.sh b/bin/executable_mpd_only.sh index 39c3770..468c6a5 100755 --- a/bin/executable_mpd_only.sh +++ b/bin/executable_mpd_only.sh @@ -1,2 +1,7 @@ #!/bin/sh -pacmd exit && mpc enable "DigiHug USB Audio" && mpc disable "My Pulse Output" + +set -e + +systemctl --user stop pulseaudio.socket +mpc enable "DigiHug USB Audio" +mpc disable "My Pulse Output" |