Fix bluetooth device list
Signed-off-by: Roberto Castagnola <roberto.castagnola@gmail.com> Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
This commit is contained in:

committed by
Willow Barraco

parent
2cde05382d
commit
5e7e07841f
@@ -26,8 +26,8 @@ _device_list() {
|
||||
name=icon=mac=""
|
||||
}
|
||||
{ $1=$1 }
|
||||
/Device/ && name { print_cached_device() }
|
||||
/Device/ { mac=$2; paired=""; connected=""; linkedsep="" }
|
||||
/^Device/ && name { print_cached_device() }
|
||||
/^Device/ { mac=$2; paired=""; connected=""; linkedsep="" }
|
||||
/Name:/ { $1="";$0=$0;$1=$1; name=$0 }
|
||||
/Paired: yes/ { paired="'$icon_lnk'"; linkedsep=" " }
|
||||
/Connected: yes/ { connected="'$icon_a2x'"; linkedsep=" " }
|
||||
|
Reference in New Issue
Block a user