eww osd and battery warning

This commit is contained in:
2024-12-29 21:17:59 +01:00
parent f17dac3339
commit b54468d17a
15 changed files with 406 additions and 19 deletions

28
.config/eww/battery.yuck Normal file
View File

@@ -0,0 +1,28 @@
(defwindow batteryLow
:monitor 0
:geometry (geometry
:y "5%"
:width "10%"
:height "8%"
:anchor "top center")
:stacking "overlay"
:exclusive "false"
:focusable "false"
(button
:onclick "eww close batteryLow"
"Battery Low"))
(defwindow batteryCritical
:monitor 0
:geometry (geometry
:y "5%"
:width "10%"
:height "8%"
:anchor "top center")
:stacking "overlay"
:exclusive "false"
:focusable "false"
(button
:onclick "eww close batteryCritical"
"Battery Critical"))