From 9710b1c02a521082744af5190259745222011537 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Wed, 12 Mar 2025 20:45:01 -0700 Subject: [PATCH] New backup 2025-03-12 20:45:01 --- de/home/.config/eww/scripts/bar/bluetooth | 10 +++++++--- de/home/.config/eww/variables/bar/bluetooth.yuck | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 de/home/.config/eww/variables/bar/bluetooth.yuck diff --git a/de/home/.config/eww/scripts/bar/bluetooth b/de/home/.config/eww/scripts/bar/bluetooth index 6b04b85..619fea7 100755 --- a/de/home/.config/eww/scripts/bar/bluetooth +++ b/de/home/.config/eww/scripts/bar/bluetooth @@ -41,10 +41,14 @@ function btstatus(){ btstatus -bluetoothctl | awk '/Device/' |tr -d '\r' | while read -r event;do -# btstatus - printf '%-2d %s\n' "test" "test" +dbus-monitor --profile "interface='org.blueman.Applet',member='MenuChanged'" | while read -r event; do +# echo "hi" + btstatus done +#bluetoothctl | awk '/Device/' |tr -d '\r' | while read -s -r event;do +# btstatus +# printf '%-2d %s\n' "test" "test" +#done exit diff --git a/de/home/.config/eww/variables/bar/bluetooth.yuck b/de/home/.config/eww/variables/bar/bluetooth.yuck new file mode 100644 index 0000000..0ee2836 --- /dev/null +++ b/de/home/.config/eww/variables/bar/bluetooth.yuck @@ -0,0 +1 @@ +(deflisten network_status "scripts/bar/bluetooth")