added battery widget to laptops

This commit is contained in:
2025-03-31 20:38:29 +02:00
parent f42d3a20b2
commit f6c8c405dc
8 changed files with 22 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
(defwidget battery []
(box
:class "battery ${EWW_BATTERY.BAT1.status}"
:halign "center"
:valign "center"
(label :text "󱈑 ${EWW_BATTERY.BAT1.capacity} %")))