[Xmonad] darcs patch: ManageHook list interface (and 1 more)
mail at joachim-breitner.de
mail at joachim-breitner.de
Thu Oct 11 19:06:22 EDT 2007
Sat Oct 6 18:03:24 CEST 2007 mail at joachim-breitner.de
* ManageHook list interface
This patch implements the proposed manageLog interface outlined in
http://code.google.com/p/xmonad/issues/detail?id=54
Note that all the Data.Monoid stuff is just to avoid writing
foldl (.) id
as mconcat. Maybe foldl (.) id is nicer in this case.
Iâm not sure if I put the ManageHook type declaration in the right spot.
I did not adjust any plugins to the new interface, although the recently commited
ManageDocks.hs by chance already had this interface :-)
The Config.hs could probably need some example, as soon as some plugins use
this interface
> -- Add hooks from imported extensions, e.g.
> manageHooks = [ floatGimp, manageDocksHook ]
Greetings,
Joachim
Fri Oct 12 00:53:26 CEST 2007 mail at joachim-breitner.de
* Hook for broadcastMessage messages
Hi,
this patch adds a new hook, messageHook. This patch should probably not go into the darcs
repository (because this is a very specific hook), at least not before 0.4 and not before a
proper hook interface is in place.
Nevertheless it is needed by people who want to try the interactive EwhmDesktops, see
the patch against contrib coming in next.
Greetins,
Joachims
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 16921 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20071012/ccc31a04/attachment.bin
More information about the Xmonad
mailing list