[xmonad] darcs patch: new contrib module, Layout.PerWorkspace

Brent Yorgey byorgey at gmail.com
Tue Nov 20 11:07:50 EST 2007


On Nov 20, 2007 10:06 AM, David Roundy <droundy at darcs.net> wrote:

> On Tue, Nov 20, 2007 at 07:01:19AM -0800, David Roundy wrote:
> > On Mon, Nov 19, 2007 at 09:54:06PM -0500, Brent Yorgey wrote:
> > > As seen on xmonad@!  A module which allows you to configure layouts
> > > per-workspace.  Testing, comments, criticisms, edits, etc. welcome.
>
> I'd also add that I think it'd be handy to be able to give a list of
> WorkspaceId rather than just one, so we could say
>
> onWorkspaces ["web","email","irc"] mytabbed $
> onWorkspaces ["darcs","xmonad"] (mytabbed <-//> mytabbed ||| mytabbed) $
> Full
>
> That'd be a stupid set of layouts, but you can see the idea:  most users
> will have two or three sets of layouts, max, and will want to divy them up
> among their workspaces.


I thought of this, but the problem is the types.  What should the type of
onWorkspaces be?  If you try to write this function, you get an infinite
type error.  Unless there's some tricky type-hacking that can be done to get
around it.

-Brent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20071120/03fed4da/attachment.htm


More information about the xmonad mailing list