Open d4rios opened 2 years ago
Yeah, i have the same issue, really annoying sometimes, for me only a problem this, if my monitor going to blank, and after wake up i have extra spacing, only logout fixes this fully.
i think you can work around this by putting override-redirect = true
in your polybar config file, and then changing bspwm's margins using bspc config top_padding/bottom_padding <your bar's height in px>
each time you change your theme/update your bar
Currently I change the appearance of my bspwm desktop by launching a script that shows me rofi with different themes from which I can choose.
When switching from one theme to another, bspwm remembers the space occupied by the Polybar leaving more margin on one side than on the other. You can see in the attached video how sometimes there is more space at the top, sometimes at the bottom. The spaces are not proportional.
Is there any way to automate this so that the margins are proportional and equal in size?
Greetings
bspwm -v 0.9.10
polybar -v polybar 3.5.7
In Polybar --> margin-bottom = 0 --> margin-top = 0
bspc config window_gap 10
https://drive.google.com/file/d/1SR2ymwgZZuT2lMNOdzsJFqHIVF1Jooey/view?usp=sharing