home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add functions to list Bluetooth devices
[khome.git]
/
lib
/
login_functions.sh
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"
}
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.022738 seconds
and
4
git commands to generate.