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" = {
orientation = "horizontal";
modules = [
"custom/tag1"
"battery"
"custom/powerlimit"
"custom/tag2"
];
};
pulseaudio = {

View file

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

View file

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