[xmonad] Can I switch layouts based on number of windows in a workspace?
Jeffrey David Johnson
jefdaj at gmail.com
Mon Aug 27 11:48:41 CEST 2012
I'd like to have a different layout depending on how many windows are
visible. Something like:
one? --> Full
under four? --> Tall
otherwise --> Grid
I couldn't find an existing function, and didn't make much headway
writing my own either. (I tried to use sendMessage $ JumpToLayout "Full"
etc. in a managehook) Is there an obvious way to do this?
More information about the xmonad