New backup 2025-03-12 20:00:01
This commit is contained in:
parent
cde6130c8d
commit
bfe3d1044a
1 changed files with 13 additions and 5 deletions
|
@ -41,8 +41,16 @@ function btstatus(){
|
|||
|
||||
btstatus
|
||||
|
||||
bluetoothctl | awk '/Device.*Connected/' | {
|
||||
while read -r event; do
|
||||
btstatus
|
||||
done;
|
||||
}
|
||||
echo 'hi'
|
||||
|
||||
bluetoothctl | grep 'Connected' | while read -r event;do
|
||||
btstatus
|
||||
done
|
||||
|
||||
exit
|
||||
|
||||
#bluetoothctl | awk '/Connected/' | tr -d '\r' | while read -r event; do
|
||||
bluetoothctl | tr -d '\r' | while read -r event; do
|
||||
btstatus
|
||||
# echo "${event}"
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue