
16 Jul
2009
16 Jul
'09
9:14 a.m.
Hi, Pär Andersson wrote:
Hi,
If I could somehow set nmaster to 1 when number of windows is less than 4 I guess that would do the trick.
Not the perfect solution but you can change the number of master windows on-the-fly using bindings like these: ((modMask x .|. shiftMask, xK_comma ), sendMessage (IncMasterN 1 )) ((modMask x .|. shiftMask, xK_period), sendMessage (IncMasterN (-1))) (IncMasterN is in package XMonad.Layout) Cheers, Zsolt