11 lines
322 B
Plaintext
11 lines
322 B
Plaintext
(defwidget bat []
|
|
(circular-progress
|
|
:value "${EWW_BATTERY["BAT0"].capacity}"
|
|
:class "batbar module"
|
|
:style "color: ${battery.color};"
|
|
:thickness 3
|
|
(button
|
|
:tooltip "battery on ${EWW_BATTERY["BAT0"].capacity}%"
|
|
:onclick "./scripts/pop system"
|
|
(label :class "icon-text" :text ""))))
|