Waybar: Fix bat margin.

This commit is contained in:
Dmitry Voronin 2024-11-08 10:56:30 +03:00
parent 4227b9c162
commit 6d625a2cbb
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 5 additions and 4 deletions

View file

@ -94,8 +94,10 @@ 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,13 +10,11 @@ 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 {
#battery {
padding-left: ${paddingH}; padding-left: ${paddingH};
} }
#custom-tag2, #custom-tag2 {
#custom-powerlimit {
padding-right: ${paddingH}; padding-right: ${paddingH};
} }

View file

@ -25,6 +25,7 @@ in {
backspace = "delete"; # Delete key on backspace. backspace = "delete"; # Delete key on backspace.
capslock = "overload(control, esc)"; # Ctrl/esc combo. capslock = "overload(control, esc)"; # Ctrl/esc combo.
compose = "layer(layer_number)"; # Number input layer. compose = "layer(layer_number)"; # Number input layer.
delete = "backslash";
esc = "print"; # System controls. esc = "print"; # System controls.
leftcontrol = "overload(layer_alternative, leftcontrol)"; # Alternative layer for home, end etc. leftcontrol = "overload(layer_alternative, leftcontrol)"; # Alternative layer for home, end etc.
rightcontrol = "layer(layer_control)"; # Media and other controls. rightcontrol = "layer(layer_control)"; # Media and other controls.