home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tighten bluetoothctl output matching to exclude logs
[khome.git]
/
home
/
lib
/
login_functions.sh
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
6b0c1bc
..
243f15f
100644
(file)
--- a/
home/lib/login_functions.sh
+++ b/
home/lib/login_functions.sh
@@
-346,7
+346,7
@@
_bt_devs_infos() {
# which bluetoothctl outputs
awk '/^Device +/ {print $2}' \
| xargs -I% sh -c 'echo info % | bluetoothctl' \
- | awk '/^Device |^\t/'
+ | awk '/^Device |^\t
[A-Z][A-Za-z0-9]+:
/'
}
bt_devs_paired() {
This page took
0.024181 seconds
and
4
git commands to generate.