[xmonad] XMoBar Question

Trevor Elliott trevor at galois.com
Wed Dec 12 19:34:05 EST 2007

On Thu, 13 Dec 2007 01:19:58 +0100
Hans Philipp Annen <hpa at gmx.li> wrote:

> Hi!
> On Thu, Dec 13, 2007 at 12:14:03AM +0100, Dominik Bruhn wrote:
> > Hy,
> > I tried to switch from dzen2 to xmobar as statusbar for my xmonad
> > but ran into these three problems:
> > 
> > 1. I want my Mailcount (how many new mails are there in my Maildir
> > on my harddisk) to be displayed. How can I achieve this? Should I
> > run a external program? Im searching for a solution which needs the
> > less cpu (and io) as possible, as xmonad is running on my notebook.
> > An external shellscript would do a big overhead, so is there a
> > better solution?

So, I've written a program that does something similar to this, for
dzen2.  Basically, it takes the output from xmonad, and adds in the
date, battery status, and whatever else you can think of to the actuall
input to dzen, thus allowing you to customize the output a bit more.

You can write new things to have it output via a simple plugin api (in
haskell, of course).  If you're interested, I would be happy to
cabalize it, and put it up somewhere.


More information about the xmonad mailing list