[xmonad] darcs patch: Refactor XMonad.Hooks.DynamicLog

Roman Cheplyaka roma at ro-che.info
Wed Feb 20 10:30:24 EST 2008


* Spencer Janssen <sjanssen at cse.unl.edu> [2008-02-12 03:58:21-0600]
> On Mon, Feb 11, 2008 at 12:25:59AM +0200, Roman Cheplyaka wrote:
> > Mon Feb 11 00:24:06 EET 2008  Roman Cheplyaka <roma at ro-che.info>
> >   * Refactor XMonad.Hooks.DynamicLog
> >   This allows using DynamicLog not only for statusbar.
> 
> >    , ((mod1Mask, xK_a     ), sendMessage NextLayout >> (dynamicLogString myPP >>= \d->spawn $"xmessage "++d))
> 
> Why not use this instead:
> > dynamicLogWithPP $ myPP { ppOutput = spawn . ("xmessage "++) }
> 
> Just trying to play devil's advocate against API increases here :)

Yeah, I was blind. Now it seems really pointless.
Feel free to unapply it. Would you also edit [1]?

  1. http://haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#I_don.27t_use_statusbar.2C_but_I.27d_like_to_have_layout_displayed_for_some_time_when_it_changes

-- 
Roman I. Cheplyaka (aka Feuerbach @ IRC)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080220/406543bf/attachment-0001.bin


More information about the xmonad mailing list