aboutsummaryrefslogtreecommitdiff
path: root/bin/executable_mpd_only.sh
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-11-27 10:19:01 -0500
committerRyan Kavanagh <rak@rak.ac>2022-11-27 10:19:01 -0500
commitdda3e3bb8e5436a0a13219b4490de191cfcf1758 (patch)
tree5b2127de7d18a92d2ac5990b9e147c2384f2f7d3 /bin/executable_mpd_only.sh
parentresign zeta (diff)
update mpd_*sh
Diffstat (limited to '')
-rwxr-xr-xbin/executable_mpd_only.sh7
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"