<br><div class="gmail_quote">On Dec 12, 2007 7:34 PM, Trevor Elliott &lt;<a href="mailto:trevor@galois.com">trevor@galois.com</a>&gt; 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 &lt;<a href="mailto:hpa@gmx.li">hpa@gmx.li</a>&gt; wrote:<br><br>&gt; Hi!<br>&gt;<br>&gt; On Thu, Dec 13, 2007 at 12:14:03AM +0100, Dominik Bruhn wrote:
<br>&gt; &gt; Hy,<br>&gt; &gt; I tried to switch from dzen2 to xmobar as statusbar for my xmonad<br>&gt; &gt; but ran into these three problems:<br>&gt; &gt;<br>&gt; &gt; 1. I want my Mailcount (how many new mails are there in my Maildir
<br>&gt; &gt; on my harddisk) to be displayed. How can I achieve this? Should I<br>&gt; &gt; run a external program? Im searching for a solution which needs the<br>&gt; &gt; less cpu (and io) as possible, as xmonad is running on my notebook.
<br>&gt; &gt; An external shellscript would do a big overhead, so is there a<br>&gt; &gt; better solution?<br><br></div>So, I&#39;ve written a program that does something similar to this, for<br>dzen2. &nbsp;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). &nbsp;If you&#39;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.&nbsp; (I have a similar program, but it&#39;s not at all modular or extensible.)&nbsp; 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>