eww: limit size of bluetooth name
This commit is contained in:
parent
6a5afb5e35
commit
ca4db80ebb
@ -84,7 +84,8 @@
|
||||
(label
|
||||
:text "${bluetooth-name} ")))
|
||||
|
||||
(defpoll bluetooth-name :interval "10s" `bluetoothctl devices Connected | awk '{print $3}'`)
|
||||
; `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 $3}' | head -c 30`)
|
||||
|
||||
(defwidget time []
|
||||
(box
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user