configuration/local/bin/headset.sh
2015-01-20 21:04:59 +01:00

5 lines
134 B
Bash
Executable File

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