Fix dmenu-bluetooth script.

This commit is contained in:
Bartek Stalewski 2022-10-22 01:03:35 +02:00
parent 4a8c36877f
commit f4e6ed1e7b

View File

@ -177,7 +177,7 @@ print_status() {
if power_on; then
printf ''
mapfile -t paired_devices < <(bluetoothctl paired-devices | grep Device | cut -d ' ' -f 2)
mapfile -t paired_devices < <(bluetoothctl devices Paired | grep Device | cut -d ' ' -f 2)
counter=0
for device in "${paired_devices[@]}"; do