Fix dmenu-bluetooth script.
This commit is contained in:
parent
4a8c36877f
commit
f4e6ed1e7b
@ -177,7 +177,7 @@ print_status() {
|
|||||||
if power_on; then
|
if power_on; then
|
||||||
printf ''
|
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
|
counter=0
|
||||||
|
|
||||||
for device in "${paired_devices[@]}"; do
|
for device in "${paired_devices[@]}"; do
|
||||||
|
Loading…
Reference in New Issue
Block a user