Re: [dwm] dwm new message notification

2007-12-12 Thread Martin Sander
On Tue, Dec 11, 2007 at 11:28:08PM -0500, Ritesh Kumar wrote: I think gmail supports RSS for getting unread mail. I clicked on the little feed icon in my firefox urlbar and I got an RSS page. I guess a little grep over that should do the trick. Do tell us if that works! Hey, I had a little

Re: [dwm] dwm new message notification

2007-12-12 Thread Robert Manea
* Jeremy O'Brien ([EMAIL PROTECTED]) wrote: Hi. [...] email is out of the question. So for now I think I'll just rely on peeking at mutt every so often to see if I have no email. I can cope. :) You might also check out if this http://robm.selfip.net/wiki.sh/-main/DzenGmailNotify fits your

Re: [dwm] dwm new message notification

2007-12-12 Thread Anselm R. Garbe
A minor remark: On Wed, Dec 12, 2007 at 07:08:28PM +0100, Anselm R. Garbe wrote: I believe dzen is a good option as status text replacment, but there is no interface for tagging, and other notifications (client title, etc.) in dwm. So consider patching way and wah for the purpose of

Re: [dwm] dwm new message notification

2007-12-11 Thread Martin Sander
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`

Re: [dwm] dwm new message notification

2007-12-11 Thread Engin Tola
I just check the size of the mail file to see if it is non-zero. And then I print an 'M' to my status bar like this: mail_file=/var/mail/tola if [ -s $mail_file ] then mail=M else mail='' fi Martin Sander [EMAIL PROTECTED] writes: On Mon, Dec 10, 2007 at 03:32:14PM -0500, Jeremy

Re: [dwm] dwm new message notification

2007-12-11 Thread Jeremy O'Brien
On Tue, Dec 11, 2007 at 03:53:20PM +0100, Antoni Grzymala wrote: Engin Tola dixit (2007-12-11, 14:46): I just check the size of the mail file to see if it is non-zero. And then I print an 'M' to my status bar like this: mail_file=/var/mail/tola if [ -s $mail_file ] then

Re: [dwm] dwm new message notification

2007-12-11 Thread Antoni Grzymala
Jeremy O'Brien dixit (2007-12-11, 12:37): Haha. You gave me this script before, and it was the one that I was previously using. Worked like a charm! Unfortunately, IMAP works differently and doesn't populate my ~/.maildir directory anymore :( Thank you though! :) LOL, excuse my Alzheimer. Do

Re: [dwm] dwm new message notification

2007-12-11 Thread Jeremy O'Brien
On Tue, Dec 11, 2007 at 06:47:00PM +0100, Antoni Grzymala wrote: Jeremy O'Brien dixit (2007-12-11, 12:37): Haha. You gave me this script before, and it was the one that I was previously using. Worked like a charm! Unfortunately, IMAP works differently and doesn't populate my ~/.maildir

Re: [dwm] dwm new message notification

2007-12-11 Thread Ritesh Kumar
I think gmail supports RSS for getting unread mail. I clicked on the little feed icon in my firefox urlbar and I got an RSS page. I guess a little grep over that should do the trick. Do tell us if that works! Ritesh On Dec 11, 2007 1:05 PM, Jeremy O'Brien [EMAIL PROTECTED] wrote: On Tue, Dec

[dwm] dwm new message notification

2007-12-10 Thread Jeremy O'Brien
So I've recently switched to the new IMAP gmail service over POP3, but now the script that I previously had to notify me of new email in the dwm status bar (obviously) doesn't work anymore. Is there a way to get new mail notifications from IMAP that would be suitable for the bar? Thank you! --