312 current 2025-02-09 03:05:47 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2025-02-09 03:06:00 -05:00
parent a1c7b9bfd7
commit 1738775517
12 changed files with 190 additions and 10 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/bash
if [[ $(bluetoothctl devices) == "No default controller available" ]]; then
echo "click the bluetooth button lol"
exit 1
fi
# if we are not connected to gb, try to connect
if bluetoothctl info | grep -q "Missing device address argument"; then
bluetoothctl connect F8:8F:07:E1:FA:A7 > /dev/null
exit 1
fi
echo "already connected to:"
bluetoothctl info | grep "Name" | cut -d ' ' -f 2-