configuration/local/bin/headset.sh
2015-04-04 13:57:24 +02:00

6 lines
172 B
Bash
Executable File

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