<br><div class="gmail_quote">On Dec 12, 2007 7:34 PM, Trevor Elliott <<a href="mailto:trevor@galois.com">trevor@galois.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, 13 Dec 2007 01:19:58 +0100<br>Hans Philipp Annen <<a href="mailto:hpa@gmx.li">hpa@gmx.li</a>> wrote:<br><br>> Hi!<br>><br>> On Thu, Dec 13, 2007 at 12:14:03AM +0100, Dominik Bruhn wrote:
<br>> > Hy,<br>> > I tried to switch from dzen2 to xmobar as statusbar for my xmonad<br>> > but ran into these three problems:<br>> ><br>> > 1. I want my Mailcount (how many new mails are there in my Maildir
<br>> > on my harddisk) to be displayed. How can I achieve this? Should I<br>> > run a external program? Im searching for a solution which needs the<br>> > less cpu (and io) as possible, as xmonad is running on my notebook.
<br>> > An external shellscript would do a big overhead, so is there a<br>> > better solution?<br><br></div>So, I've written a program that does something similar to this, for<br>dzen2. Basically, it takes the output from xmonad, and adds in the
<br>date, battery status, and whatever else you can think of to the actuall<br>input to dzen, thus allowing you to customize the output a bit more.<br><br>You can write new things to have it output via a simple plugin api (in
<br>haskell, of course). If you're interested, I would be happy to<br>cabalize it, and put it up somewhere.<br></blockquote><br>I think this would be a fantastic tool for the xmonad community. (I have a similar program, but it's not at all modular or extensible.) Cabalizing it and putting it up somewhere would be great -- or even better, set up a public darcs repo so people can contribute new plugins. =)
<br><br>-Brent<br></div><br>