configuration/local/bin/headset.sh
Felix Van der Jeugt 89caf40990 bins - fail
2015-04-06 01:05:24 +02:00

6 lines
171 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 > /dev/null 2>&1