From 7e841a6cef0392e60b848b13bff72f91baa91f81 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Fri, 12 Aug 2022 12:06:37 +0200 Subject: Update to bluetoothctl usage after change in interface. --- bluetooth/btConnect.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bluetooth') diff --git a/bluetooth/btConnect.sh b/bluetooth/btConnect.sh index 0fccbba..71bb93b 100755 --- a/bluetooth/btConnect.sh +++ b/bluetooth/btConnect.sh @@ -25,8 +25,8 @@ if bluetoothctl show | grep -Fq 'Powered: no'; then notify-send "$title" "Bluetooth controller powered on." fi -lines=$(bluetoothctl paired-devices | wc -l) -selected=$(bluetoothctl paired-devices | dmenu -l $lines -p "💓") || exit 1 +lines=$(bluetoothctl devices Paired | wc -l) +selected=$(bluetoothctl devices Paired | dmenu -l $lines -p "💓") || exit 1 mac=$(echo $selected | cut -d' ' -f2) name=$(echo $selected | cut -d' ' -f3-) -- cgit v1.2.1