home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58bdbfb
)
Add functions to list Bluetooth devices
author
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 17 Apr 2019 16:48:27 +0000
(12:48 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 17 Apr 2019 16:48:27 +0000
(12:48 -0400)
lib/login_functions.sh
patch
|
blob
|
blame
|
history
diff --git
a/lib/login_functions.sh
b/lib/login_functions.sh
index
8488f4f
..
8876e75
100644
(file)
--- a/
lib/login_functions.sh
+++ b/
lib/login_functions.sh
@@
-98,3
+98,15
@@
work_log() {
weather() {
curl "http://wttr.in/$WEATHER_LOCATION"
}
+
+bt_devs_paired() {
+ bluetoothctl -- paired-devices \
+ | awk '{print $2}' \
+ | xargs bluetoothctl -- info
+}
+
+bt_devs() {
+ bluetoothctl -- devices \
+ | awk '{print $2}' \
+ | xargs bluetoothctl -- info
+}
This page took
0.020206 seconds
and
4
git commands to generate.