eww: update bluetooth status command

This commit is contained in:
2025-11-13 00:20:01 -05:00
parent 5d04a928c6
commit f21f8de8d5

View File

@@ -79,7 +79,7 @@
:text "${bluetooth-name} 󰂯"))) :text "${bluetooth-name} 󰂯")))
; `FNR == 1 + head -c 30` so the name doesn't explode the screen ; `FNR == 1 + head -c 30` so the name doesn't explode the screen
(defpoll bluetooth-name :interval "10s" `bluetoothctl devices Connected | awk 'FNR == 1 {print substr($0,1,30)}'`) (defpoll bluetooth-name :interval "10s" `bluetoothctl devices Connected | awk '$1 == "Device" {print $0}' | cut -d' ' -f3-`)
(defwidget time [] (defwidget time []
(box (box