diff --git a/local/bin/headset.sh b/local/bin/headset.sh index 2fcac31..63b51d0 100755 --- a/local/bin/headset.sh +++ b/local/bin/headset.sh @@ -1,3 +1,4 @@ #!/bin/bash +if ! pgrep pulseaudio; then pulseaudio --start; fi cat <(echo "connect 00:11:67:11:18:9B") <(echo "quit") | bluetoothctl