
20 Feb
2008
20 Feb
'08
10:30 a.m.
* Spencer Janssen
On Mon, Feb 11, 2008 at 12:25:59AM +0200, Roman Cheplyaka wrote:
Mon Feb 11 00:24:06 EET 2008 Roman Cheplyaka
* 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_u... -- Roman I. Cheplyaka (aka Feuerbach @ IRC)