[xmonad] Tall layout question

Zsolt Dollenstein zsol+lists at elte.hu
Thu Jul 16 09:14:28 EDT 2009


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)


More information about the xmonad mailing list