home/programs/waybar: add battery status for charging

This commit is contained in:
Anthony Rodriguez 2024-11-21 19:30:57 +01:00
parent f7e78e3cea
commit 0cedd04b81
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -26,12 +26,14 @@ in {
modules-right = ["tray" "group/status" "group/power"]; modules-right = ["tray" "group/status" "group/power"];
battery = { battery = {
interval = 60; interval = 10;
states = { states = {
warning = 30; warning = 30;
critical = 15; critical = 15;
}; };
format = "{icon} {capacity}%"; format = "{icon} {capacity}%";
format-charging = " {capacity}% - {time}";
format-full = " {capacity}% - Full";
format-icons = [ format-icons = [
"" ""
"" ""