added battery widget to laptops
This commit is contained in:
6
.config/eww/widgets/battery.yuck
Normal file
6
.config/eww/widgets/battery.yuck
Normal file
@@ -0,0 +1,6 @@
|
||||
(defwidget battery []
|
||||
(box
|
||||
:class "battery ${EWW_BATTERY.BAT1.status}"
|
||||
:halign "center"
|
||||
:valign "center"
|
||||
(label :text " ${EWW_BATTERY.BAT1.capacity} %")))
|
Reference in New Issue
Block a user