-
-
Notifications
You must be signed in to change notification settings - Fork 717
Closed
Description
Discussed in #2768
Originally posted by patrick96 July 16, 2022
Polybar's struts can cover entire monitors if polybar is placed on a monitor that is in the middle of the X root screen. See also previous issues with tint2: https://gitlab.gnome.org/GNOME/mutter/-/issues/452
There was also a report for this on reddit
Ideally, WMs would compensate for that and only apply the parts of the struts which do not cover entire screens. However, many don't.
On the polybar side, the only conforming solution seems to be to just turn off struts.
For this, we should give the user an option in the bar section to enable/disable struts (enabled by default).
If struts are disabled, global/wm.margin-{top,bottom}
being set, should produce a warning, because they are ignored.