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")