tudurom / windowchef

Window Chef is a stacking window manager that cooks windows with orders from the Waitron
https://tudorr.ro/software/windowchef/
ISC License
203 stars 14 forks source link

Monocle window avoid panel #39

Closed myugan closed 6 years ago

myugan commented 6 years ago

I mean, when a window become monocle or resize to full screen, the window can set to avoid panel like lemonbar,dzen2, etc like 2bwm to avoid it you just change value in :

/*0)offsetx          1)offsety
 *2)maxwidth         3)maxheight */
static const uint8_t offsets[] = {0,0,0,0};

into :

/*0)offsetx          1)offsety
 *2)maxwidth         3)maxheight */
static const uint8_t offsets[] = {0,35,0,35};

And compile again, the window can avoid panel when monocle or fullscreen.

myugan commented 6 years ago

Manually, add waitron wm_config gap_width position value to your windowchefrc, the value can adjust it with panel height + gap width and position can you set to top or bottom.