2022-09-14 15:35:52 +03:00

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 ""))))