eww: update bluetooth status command
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user