We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e59356 + 4c024f3 commit 5b6e314Copy full SHA for 5b6e314
monitor.sh
@@ -158,7 +158,7 @@ done
158
# ----------------------------------------------------------------------------------------
159
160
#LIST CONNECTED DEVICES
161
-previously_connected_devices=$(echo "quit" | bluetoothctl | grep -Eio "Device ([0-9A-F]{2}:){5}[0-9A-F]{2}" | sed 's/Device //gi')
+previously_connected_devices=$(echo "paired-devices" | bluetoothctl | grep -Eio "Device ([0-9A-F]{2}:){5}[0-9A-F]{2}" | sed 's/Device //gi')
162
163
#POPULATE KNOWN DEVICE ADDRESS
164
for addr in "${known_static_addresses[@]^^}"; do
0 commit comments