waybar battery update
This commit is contained in:
parent
4653091898
commit
df572e5554
2 changed files with 17 additions and 1 deletions
|
|
@ -53,6 +53,9 @@
|
||||||
|
|
||||||
#waybar {
|
#waybar {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
font-family: "Hasklug Nerd Font";
|
font-family: "Hasklug Nerd Font";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,11 @@ in {
|
||||||
format = " {:%H:%M:%S}";
|
format = " {:%H:%M:%S}";
|
||||||
format-alt = " {:%a %d %b %Y}";
|
format-alt = " {:%a %d %b %Y}";
|
||||||
};
|
};
|
||||||
|
"battery" = {
|
||||||
|
format = "{icon} {capacity}%";
|
||||||
|
format-critical = "{icon} {time}";
|
||||||
|
format-time = "{H}h {M}s";
|
||||||
|
};
|
||||||
"cpu" = {
|
"cpu" = {
|
||||||
format = " {usage}%";
|
format = " {usage}%";
|
||||||
};
|
};
|
||||||
|
|
@ -52,6 +57,11 @@ in {
|
||||||
format = "{:%H\n%M\n%S}";
|
format = "{:%H\n%M\n%S}";
|
||||||
format-alt = "{:%d\n%m\n%y}";
|
format-alt = "{:%d\n%m\n%y}";
|
||||||
};
|
};
|
||||||
|
"battery" = {
|
||||||
|
format = "{icon} {capacity}";
|
||||||
|
format-critical = "{icon} {time}";
|
||||||
|
format-time = "{m}m";
|
||||||
|
};
|
||||||
"cpu" = {
|
"cpu" = {
|
||||||
format = " {usage}";
|
format = " {usage}";
|
||||||
};
|
};
|
||||||
|
|
@ -103,7 +113,10 @@ in {
|
||||||
|
|
||||||
"battery" = {
|
"battery" = {
|
||||||
interval = 3;
|
interval = 3;
|
||||||
# TODO This needs to be fixed
|
format-icons = ["" "" "" "" ""];
|
||||||
|
states = {
|
||||||
|
critical = 15;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue