Update battery configuration and style

This commit is contained in:
Yorick Barbanneau 2023-03-11 03:11:40 +01:00
parent 1ad87749f5
commit 8ef13096bb
2 changed files with 8 additions and 7 deletions

View file

@ -41,14 +41,15 @@
"battery": {
"tooltip": false,
"states": {
"full": 100,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format": "{capacity}% {icon} |",
"format-charging": "{capacity}%  |",
"format-plugged": "{capacity}%  |",
"format-alt": "{time} {icon} |",
"format-icons": ["", "", "", "", ""]
},
"network": {

View file

@ -1,8 +1,8 @@
* {
border: none;
border-radius: 0;
font-family: "FuraCode Nerd Font";
font-size: 16px;
font-family: "Fira Code Nerd Font";
font-size: 14px;
min-height:0;
}
@ -74,7 +74,7 @@ button:hover{
border-bottom:1px solid transparent;
}
#battery.charging {
#battery.charging, #battery.plugged {
border-color:#1cd180;
color:#1cd180;
}