Open PeterNerlich opened 2 years ago
I set the font size of all text, icons and the tray to 12px, but waybar doesn't shrink anymore. I confirmed that removing workspaces from the list of modules collapses to the true minimum height.
I have nothing special in my config:
"sway/workspaces": { "disable-scroll": true, "format": "{name}" },
And relevant lines in the style:
* { font-size: 12px; font-family: monospace; } #workspaces button { padding: 0 1px; color: #f58f29; } #workspaces button.focused { color: #f5dfbb; } #workspaces button:hover { box-shadow: inherit; text-shadow: inherit; } #workspaces button:hover { background: #201816; border: #201816; padding: 0 2px; }
A potential workaround is to add min-height of 0 (zero) to your styling, such as:
* { font-size: 12px; font-family: monospace; min-height: 0; }
I set the font size of all text, icons and the tray to 12px, but waybar doesn't shrink anymore. I confirmed that removing workspaces from the list of modules collapses to the true minimum height.
I have nothing special in my config:
And relevant lines in the style: