home: Correct battery styling in status bar
This commit is contained in:
parent
107cece97a
commit
8325c766ad
1 changed files with 9 additions and 4 deletions
|
@ -50,12 +50,12 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
||||||
min-width: 5mm;
|
min-width: 5mm;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.5, #battery.10, #battery.15 {
|
#battery.warning {
|
||||||
color: ${red};
|
color: ${yellow};
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.20, #battery.25, #battery.30 {
|
#battery.critical {
|
||||||
color: ${yellow};
|
color: ${red};
|
||||||
}
|
}
|
||||||
|
|
||||||
#temperature.critical {
|
#temperature.critical {
|
||||||
|
@ -209,6 +209,11 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
||||||
};
|
};
|
||||||
|
|
||||||
battery = {
|
battery = {
|
||||||
|
states = {
|
||||||
|
warning = 25;
|
||||||
|
critical = 15;
|
||||||
|
};
|
||||||
|
|
||||||
format = "{icon} {capacity} %";
|
format = "{icon} {capacity} %";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
full = "";
|
full = "";
|
||||||
|
|
Loading…
Reference in a new issue