glzr-io / glazewm

GlazeWM is a tiling window manager for Windows inspired by i3 and Polybar.
GNU General Public License v3.0
4.02k stars 123 forks source link

feat: added DefaultLabel to BindingMode Component #602

Open ParasiteDelta opened 2 months ago

ParasiteDelta commented 2 months ago

The motivation is pretty simple: if you use separators for your bar, there will be a blank space between two separators where the binding mode display is. The reason is that while it's set up to collapse the width when there is no binding mode by default, the bar still reserves this space. So, I've added in a config variable, default_label, to optionally display a tag whenever the user does not have a binding mode selected.

Let me know if I need to make any changes.