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é WilhelmReceived 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