oops that wouldn't have worked
This commit is contained in:
parent
ded91406e8
commit
aaae10d3e2
@ -7,9 +7,12 @@ zeusplay 60:E3:27:09:12:DE
|
||||
HERE
|
||||
)"
|
||||
|
||||
command="connect ${mac#* }"
|
||||
command="$(cat <<HERE
|
||||
connect ${mac#* }
|
||||
quit
|
||||
HERE
|
||||
)"
|
||||
|
||||
if ! pgrep pulseaudio; then pulseaudio --start 2> /dev/null ; fi
|
||||
cat "$command" <(echo "quit") \
|
||||
| bluetoothctl > /dev/null 2>&1
|
||||
echo "$command" | bluetoothctl > /dev/null 2>&1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user