feat(wm): make waybar battery widget more useful :3
This commit is contained in:
parent
9d924956da
commit
e7c4ff50c5
1 changed files with 43 additions and 8 deletions
|
|
@ -86,14 +86,49 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
battery = {
|
battery = {
|
||||||
format = "{capacity}% {icon}";
|
"bat" = "BAT1";
|
||||||
"format-icons" = [
|
|
||||||
""
|
"full-at" = 80;
|
||||||
""
|
|
||||||
""
|
"interval" = 1;
|
||||||
""
|
|
||||||
""
|
"states" = {
|
||||||
];
|
"warning" = 30;
|
||||||
|
"critical" = 15;
|
||||||
|
};
|
||||||
|
|
||||||
|
"format" = "{capacity}% {icon}";
|
||||||
|
|
||||||
|
"format-icons" = {
|
||||||
|
"discharging" = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
"charging" = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
"tooltip-format-charging" = " {time}\n +{power} W\n {health}";
|
||||||
|
"tooltip-format-discharging" = " {time}\n -{power} W\n {health}";
|
||||||
};
|
};
|
||||||
|
|
||||||
clock = {
|
clock = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue