eww: update bluetooth status command

This commit is contained in:
Simon Gardling 2025-11-13 00:20:01 -05:00
parent 06a7210579
commit 2993952882
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -79,7 +79,7 @@
:text "${bluetooth-name} 󰂯")))
; `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 []
(box