Re: [dwm] irssi/mutt in status bar

From: René Wilhelm <asdf_AT_uni-koblenz.de>
Date: Sat, 13 Jan 2007 21:15:13 +0100

Hi there,
here's mine:

#!/bin/sh
report=$(maildirtree -s ~/.maildir | tail -n1)
if [[ ! -z $report ]]
  then
    echo $(echo $report | sed 's/Unread\ messages in://') "|"
fi

The output looks like: "dwm, idm, mutt, wmii |" and is
echoed to dwm. Maildirtree has it's home here:
http://triplehelix.org/~joshk/maildirtree

I've got the feeling that it may be not really good on
resources, but it works.

-- 
René Wilhelm
Received on Sat Jan 13 2007 - 21:15:38 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:34:46 UTC