Waybar
Waybar copied to clipboard
How to stretch a module to fill the remaining space?
Currently, modules are shrunk to their content size in waybar. The behaviour I wish is to have the window module fill the remaining space, so that I can style an appropriate background color.
Is it currently possible?
waybar config
{ "width" : 0, }
Currently, modules are shrunk to their content size in waybar. The behaviour I wish is to have the window module fill the remaining space, so that I can style an appropriate background color.
Is it currently possible?

I hope this image clarifies what I wish to achieve. If you look at the image, I have styled the window module with red background. As you can see, it doesn't fill the entire space, there is some unused space on the left of the status bar.
If you're wondering why I want this, I wish to have a different background colour for the middle region when a window is focused. Something like this:
