Waybar: Fix battery margin on desktop.

This commit is contained in:
Dmitry Voronin 2024-11-10 08:39:31 +03:00
parent 46f5c37c27
commit 5193b4167e
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 4 additions and 4 deletions

View file

@ -94,10 +94,8 @@ in {
"group/batteryinfo" = { "group/batteryinfo" = {
orientation = "horizontal"; orientation = "horizontal";
modules = [ modules = [
"custom/tag1"
"battery" "battery"
"custom/powerlimit" "custom/powerlimit"
"custom/tag2"
]; ];
}; };
pulseaudio = { pulseaudio = {

View file

@ -10,11 +10,13 @@ in {
# instead of the whole group. # instead of the whole group.
text = '' text = ''
/* See the ISSUE above. */ /* See the ISSUE above. */
#custom-tag1 { #custom-tag1,
#custom-batteryinfo {
padding-left: ${paddingH}; padding-left: ${paddingH};
} }
#custom-tag2 { #custom-tag2,
#custom-batteryinfo {
padding-right: ${paddingH}; padding-right: ${paddingH};
} }