[xmonad] darcs patch: Add a LayoutCombinator class and a CombinedLayout and ...

Andrea Rossato mailing_list at istitutocolli.org
Tue Jan 29 14:41:28 EST 2008


forget the previous stuff. also this one has some issues (doFirst must
be implemented!), but you can see the result:

instance LayoutCombinator PerWorkspace a where
    chooser (PerWorkspace wsIds) = do
        t <- getCurrentTag
        return $ if t `elem` wsIds then DoFirst else DoSecond
    doFirst (PerWorkspace _) = True

this is PerWorkspace!
cheers,
andrea

Tue Jan 29 20:29:03 CET 2008  Andrea Rossato <andrea.rossato at unibz.it>
  * Add a LayoutCombinator class and a CombinedLayout and port PerWorkspace to the new system
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 29087 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080129/6e88c0bd/attachment-0001.bin


More information about the xmonad mailing list