configuration/local/bin/headset.sh

5 lines
134 B
Bash
Raw Normal View History

2015-01-20 20:56:52 +01:00
#!/bin/bash
2015-01-20 21:04:59 +01:00
if ! pgrep pulseaudio; then pulseaudio --start; fi
2015-01-20 20:56:52 +01:00
cat <(echo "connect 00:11:67:11:18:9B") <(echo "quit") | bluetoothctl