commit ef88490092c735d234c85c255e311abc196c30b7
parent 5bd779343a78b0fa77b59375358fe7b4e3a591b9
Author: ryukamish <[email protected]>
Date: Tue, 28 Apr 2026 09:59:21 +0530
fix: less update of battery module and bg fixes for when battery module when charging
Diffstat:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
@@ -40,6 +40,8 @@
"format": " {temperatureC}°C"
},
"battery": {
+ "interval": 60,
+ "max-length": 25,
"states": {
"good": 95,
"warning": 30,
diff --git a/waybar/style.css b/waybar/style.css
@@ -14,10 +14,16 @@ window#waybar {
/* Different battery states indicator */
#battery.discharging.warning {
color: #ffa500;
+ background-color: #0a0a0a;
}
#battery.discharging.critical {
color: #ff0000;
+ background-color: #0a0a0a;
+}
+
+#battery.charging {
+ background-color: #0a0a0a;
}
#clock,