bin - ensure pulseaudio is running

This commit is contained in:
Felix Van der Jeugt 2015-01-20 21:04:59 +01:00
parent acdad15f1d
commit b5a0a5c008

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
if ! pgrep pulseaudio; then pulseaudio --start; fi
cat <(echo "connect 00:11:67:11:18:9B") <(echo "quit") | bluetoothctl cat <(echo "connect 00:11:67:11:18:9B") <(echo "quit") | bluetoothctl