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

Spencer Janssen sjanssen at cse.unl.edu
Tue Feb 12 04:58:21 EST 2008


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 :)


Cheers,
Spencer Janssen


More information about the xmonad mailing list