I think another option is to make a new instance of LayoutClass that is just like Tall except for also supporting this message. In fact, you should be able to delegate to Tall for most definitions. Just writing off the cuff - could be wrong.

On Oct 1, 2014 3:16 PM, "Brandon Allbery" <allbery.b@gmail.com> wrote:
On Wed, Oct 1, 2014 at 6:10 PM, Mike Meyer <mwm@mired.org> wrote:
Is there some way to have a configuration with two sets of layouts to toggle between? that would certainly do the trick. While I can see how to do that, I'm not sure it's in general a good idea and so suspect it's not there.

I don't recall one pre-existing offhand, but there is certainly no reason you couldn't. For example, copy (XMonad.Layout.|||) and substitute your own message for NextLayout. Use it to combine layout groups; now mod-space moves within a layout group and a binding to send your new message cycles between layout groups.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad