[Xmonad] noob: Help me pipe output of XMonadContrib.DynamicLog to dzen?

Brent Yorgey byorgey at gmail.com
Thu Nov 8 13:01:50 EST 2007

On Nov 8, 2007 10:22 AM, Ralph E. Carter <vamosaverlas at hotmail.com> wrote:

> I have dzen2 running in the slot, displaying a date.
> I have this in my Config.hs:
>    import XMonadContrib.DynamicLog
>    logHook = dynamicLog
> http://www.xmonad.org/haddock/XMonadContrib-DynamicLog.html says: Log
> events in:  1 2 [3] 4 8 format. Suitable to pipe into dzen. (Log? Where?)
> I have studied http://dzen.googlecode.com/svn/trunk/README, but can't
> figure out how to do this.
> Thank you.

A logHook function will send output on xmonad's standard out.  So in your
.xinitrc or .xsession file (wherever you start xmonad) you need to pipe its
output to dzen2:

/path/to/xmonad | dzen2 -options...

Hope that helps!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20071108/aaabfc02/attachment-0001.htm

More information about the Xmonad mailing list