added battery widget to laptops
This commit is contained in:
8
.config/eww/widgets/battery.scss
Normal file
8
.config/eww/widgets/battery.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
.battery{
|
||||
background: lightgreen;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.Discharging{
|
||||
background: orange;
|
||||
}
|
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} %")))
|
1
.config/eww/widgets/sysmon.yuck
Symbolic link
1
.config/eww/widgets/sysmon.yuck
Symbolic link
@@ -0,0 +1 @@
|
||||
sysmon.yuck##hostname.owlenlap01
|
Reference in New Issue
Block a user