From 124ce92e95ea2272c9ac4d2fa78f1650a9f746db Mon Sep 17 00:00:00 2001 From: Penelope Gwen <support@pogmom.me> Date: Wed, 12 Mar 2025 20:15:02 -0700 Subject: [PATCH] New backup 2025-03-12 20:15:02 --- de/home/.config/eww/scripts/bar/bluetooth | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/de/home/.config/eww/scripts/bar/bluetooth b/de/home/.config/eww/scripts/bar/bluetooth index 34970b7..78e2674 100755 --- a/de/home/.config/eww/scripts/bar/bluetooth +++ b/de/home/.config/eww/scripts/bar/bluetooth @@ -41,16 +41,21 @@ function btstatus(){ btstatus -echo 'hi' - -bluetoothctl | grep 'Connected' | while read -r event;do - btstatus +bluetoothctl | tr -d '\r' | while read -r event;do +# btstatus + printf '%s' "${event}" done exit -#bluetoothctl | awk '/Connected/' | tr -d '\r' | while read -r event; do -bluetoothctl | tr -d '\r' | while read -r event; do +bluetoothctl | while read -r event;do btstatus -# echo "${event}" 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