You are not logged in.
Pages: 1
Hello,
when configuring 2bwm, is there a way to have gap/margin (like in cwm) in order to not hide the panel when maximizing the window?
Thanks
Offline
I don't know if you figured it out yet but you can configure a margin for a panel.
///---Offsets---///
/*0)offsetx 1)offsety
*2)maxwidth 3)maxheight */
static const uint8_t offsets[] = {0,18,0,18};This would create a margin of 18pixels at the top of your screen.
With this configured there's two different ways of maximizing your windows.
Mod+x will override your margin.
Mod+shift+x will honor your margin.
I believe those are the default keybindings.
Offline
Hey, thanks for the answer, that did the trick.
However I think the default config is:
Mod+X maximize while honoring the margin
Mod+Shift+X maximize while overriding the margin
Offline
I don't know if this is a mistake by the author or if it's just phrashed wrong but Mod+x for me maximizes the window to the entire screen removing the border and covering the statusbar whilst Mod+shift+x removes the border and maximizes without covering the statusbar.
// Full screen window without borders
{ MOD , XK_x, maximize, {.i=0}},
//Full screen window without borders overiding offsets
{ MOD |SHIFT , XK_x, maximize, {.i=1}},Offline
Pages: 1