Waybar: Again fix battery info.

This commit is contained in:
Dmitry Voronin 2024-11-10 20:44:26 +03:00
parent 850c83ea37
commit 734cbdac62
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 7 additions and 6 deletions

View file

@ -86,10 +86,11 @@ in {
]; ];
}; };
"custom/powerlimit" = { "custom/powerlimit" = {
exec = "powerlimit widget"; exec = "powerlimit widget";
on-click-right = "powerlimit toggle"; hide-empty-text = false;
signal = 6; on-click-right = "powerlimit toggle";
tooltip = false; signal = 6;
tooltip = false;
}; };
"group/batteryinfo" = { "group/batteryinfo" = {
orientation = "horizontal"; orientation = "horizontal";

View file

@ -11,12 +11,12 @@ in {
text = '' text = ''
/* See the ISSUE above. */ /* See the ISSUE above. */
#custom-tag1, #custom-tag1,
#batteryinfo { #battery {
padding-left: ${paddingH}; padding-left: ${paddingH};
} }
#custom-tag2, #custom-tag2,
#batteryinfo { #custom-powerlimit {
padding-right: ${paddingH}; padding-right: ${paddingH};
} }