diff --git a/home-config/waybar/config b/home-config/waybar/config
index 375835e..abe0762 100644
--- a/home-config/waybar/config
+++ b/home-config/waybar/config
@@ -5,7 +5,7 @@
"modules-left": ["hyprland/workspaces", "hyprland/submap"],
"modules-center": ["hyprland/window"],
- "modules-right": ["tray", "custom/spotify", "privacy", "custom/weather", "custom/mail", "custom/storage", "backlight", "bluetooth", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"],
+ "modules-right": ["tray", "custom/spotify", "privacy", "custom/weather", "custom/mail", "custom/storage", "backlight", "bluetooth", "pulseaudio", "network", "idle_inhibitor", "battery", "battery#num2", "clock"],
"hyprland/submap": {
"format": " {}"
},
@@ -24,6 +24,19 @@
"tooltip": false
},
"battery": {
+ "format": "{capacity}% {icon}",
+ "format-alt": "{time} {icon}",
+ "format-icons": ["", "", "", "", ""],
+ "format-charging": "{capacity}% ",
+ "interval": 30,
+ "states": {
+ "warning": 25,
+ "critical": 10
+ },
+ "tooltip": false,
+ "bat":"BAT0"
+ },
+ "battery#num2": {
"format": "{capacity}% {icon}",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""],
diff --git a/home-config/waybar/style.css b/home-config/waybar/style.css
index 548056f..682a14e 100644
--- a/home-config/waybar/style.css
+++ b/home-config/waybar/style.css
@@ -56,15 +56,15 @@ window#waybar.solo {
min-width: 140px;
}
-#battery.warning {
+#battery.warning #battery.num2.warning {
color: rgba(255, 210, 4, 1);
}
-#battery.critical {
+#battery.critical #battery.bat2.critical {
color: rgba(238, 46, 36, 1);
}
-#battery.charging {
+#battery.charging #battery.bat2.charging {
color: rgba(217, 216, 216, 1);
}