Re: [dwm] dwm new message notification

From: Martin Sander <forke_AT_uni-bonn.de>
Date: Tue, 11 Dec 2007 13:49:38 +0100

On Mon, Dec 10, 2007 at 03:32:14PM -0500, Jeremy O'Brien wrote:
> Is there a way to get new mail notifications from IMAP that would be
> suitable for the bar? Thank you!

I don't know what you are thinking of exactly, but I used to use

        fetchmail -c | sed -e 's/[^0-9 (]//g' -e 's/(/-/'|bc` > ~/.mailcheck

in a cronjob (shows the number of new messages). Then I switched to
offlineimap to sync the mail to my computer, you can then count the new
messages in your Maildir or "sed" the output of offlineimap.

Greets

Martin
Received on Tue Dec 11 2007 - 13:49:42 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:11:14 UTC