Temporarily re-add eww

This commit is contained in:
ItsDrike 2025-09-04 21:18:23 +02:00
parent aedbfed456
commit 4dcf5244cf
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
49 changed files with 1731 additions and 1 deletions

View file

@ -0,0 +1,24 @@
(defwidget battery_module []
(eventbox
:class "module battery"
(box
:class {battery.critical ? "critical" : battery.full ? "full" : "normal"}
(box
:space-evenly false
:class {battery.plugged ? "plugged" : "unplugged" }
(box
:class "icon"
:space-evenly false
(label
:class "extra"
:text {battery.extra_icon})
(label
:text {battery.capacity_icon}))
(label
:class "value"
:text "${battery.percent}%"
)
))))