From 2993952882a06a1563084d9708df3c2c873debe0 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 13 Nov 2025 00:20:01 -0500 Subject: [PATCH] eww: update bluetooth status command --- home-manager/progs/eww/config/statusbar.yuck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/progs/eww/config/statusbar.yuck b/home-manager/progs/eww/config/statusbar.yuck index 866155d..e417d99 100644 --- a/home-manager/progs/eww/config/statusbar.yuck +++ b/home-manager/progs/eww/config/statusbar.yuck @@ -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