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
|
HERE
|
||||||
)"
|
)"
|
||||||
|
|
||||||
command="connect ${mac#* }"
|
command="$(cat <<HERE
|
||||||
|
connect ${mac#* }
|
||||||
|
quit
|
||||||
|
HERE
|
||||||
|
)"
|
||||||
|
|
||||||
if ! pgrep pulseaudio; then pulseaudio --start 2> /dev/null ; fi
|
if ! pgrep pulseaudio; then pulseaudio --start 2> /dev/null ; fi
|
||||||
cat "$command" <(echo "quit") \
|
echo "$command" | bluetoothctl > /dev/null 2>&1
|
||||||
| bluetoothctl > /dev/null 2>&1
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user