[Xmonad] darcs patch: Wrap log output in a configurable type.
David Glasser
glasser at mit.edu
Tue Jun 5 23:46:15 EDT 2007
On 6/5/07, Donald Bruce Stewart <dons at cse.unsw.edu.au> wrote:
> How about we just set the logging function itself in Config.hs?
>
> logging :: WindowSet -> X ()
> logging s = return () -- no logging
>
> logging s = hPrint stdout -- normal
>
> logging s = do e <- grabsomethingfun from XMonadContrib
> hPrint in my own format (e,s)
I like it!
--dave
--
David Glasser | glasser at mit.edu | http://www.davidglasser.net/
More information about the Xmonad
mailing list