[xmonad] specific layout per workspace

Brent Yorgey byorgey at gmail.com
Mon Nov 19 13:45:12 EST 2007

On Nov 19, 2007 12:11 PM, Don Stewart <dons at galois.com> wrote:

> lobzang:
> > Hi guys,
> >
> > Is there any way to configure xmonad in order to have a custom layout
> per
> > workspace, for exemple :
> > workspace 1 (xterm) : Layout $ Mirror tiled
> > workspace 2 (web)   : Layout Full
> > workspace 3 (icq)   : Layout tiled
> This is a great idea, I wonder why we haven't thought of it before!
> There /must/ be a way to do it. Anyone have some thoughts?

Hmm, it seems like it would be possible to create a LayoutClass instance for
something like (WorkspaceId -> Layout Window), which does layout by first
getting the state from the X monad and using the current workspace id to
select the layout to use.  Perhaps I'll take a crack at it, unless someone
thinks this isn't a good idea for some reason.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20071119/99d2f637/attachment.htm

More information about the xmonad mailing list