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": { "battery": {
"tooltip": false, "tooltip": false,
"states": { "states": {
"full": 100,
"warning": 30, "warning": 30,
"critical": 15 "critical": 15
}, },
"format": "{capacity}% {icon}", "format": "{capacity}% {icon} |",
"format-charging": "{capacity}% ", "format-charging": "{capacity}%  |",
"format-plugged": "{capacity}% ", "format-plugged": "{capacity}%  |",
"format-alt": "{time} {icon}", "format-alt": "{time} {icon} |",
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },
"network": { "network": {

View file

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