fix re-pairing for hardcoded devices

This commit is contained in:
Alexander Bocken 2021-06-29 13:21:22 +02:00
parent f74f5b88b7
commit ae1e636514
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

2
bt
View File

@ -251,7 +251,7 @@ case $choice in
then then
bluetoothctl disconnect "$dev_id" bluetoothctl disconnect "$dev_id"
else else
bluetoothctl devices | grep -q "$dev_id" || bluetoothctl pair "$dev_id" bluetoothctl paired-devices | grep -q "$dev_id" || bluetoothctl pair "$dev_id"
bluetoothctl connect "$dev_id" bluetoothctl connect "$dev_id"
fi fi
fi;; fi;;