From 9ebfbdd6629b362606a7d9e63c1029439fd3fdac Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 2 May 2015 17:25:40 +0200 Subject: [PATCH] Notify me of new mails --- offlineimap/.offlineimaprc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc index 3b963cb..16d5c57 100644 --- a/offlineimap/.offlineimaprc +++ b/offlineimap/.offlineimaprc @@ -8,7 +8,7 @@ pythonfile = ~/.offlineimap.py [Account ryuslash.org] localrepository = ryuslash.org-local remoterepository = ryuslash.org-remote -postsynchook = echo 'mymailwidget:set_count()' | awesome-client +postsynchook = echo 'mymailwidget:set_count()' | awesome-client; /home/slash/usr/bin/mail-notify ryuslash.org [Repository ryuslash.org-local] type = Maildir @@ -25,7 +25,7 @@ nametrans = lambda folder: folder.lower() [Account picturefix] localrepository = picturefix-local remoterepository = picturefix-remote -postsynchook = echo 'mymailwidget:set_count()' | awesome-client +postsynchook = echo 'mymailwidget:set_count()' | awesome-client; /home/slash/usr/bin/mail-notify picturefix [Repository picturefix-local] type = Maildir @@ -63,7 +63,7 @@ nametrans = lambda folder: re.sub('^INBOX$', 'inbox', re.sub('^\[Gmail\]/ [Account gmail] localrepository = gmail-local remoterepository = gmail-remote -postsynchook = echo 'mymailwidget:set_count()' | awesome-client +postsynchook = echo 'mymailwidget:set_count()' | awesome-client; /home/slash/usr/bin/mail-notify gmail [Repository gmail-local] type = Maildir @@ -82,7 +82,7 @@ sslcacertfile = /etc/ssl/certs/ca-certificates.crt [Account ninthfloor] localrepository = ninthfloor-local remoterepository = ninthfloor-remote -postsynchook = echo 'mymailwidget:set_count()' | awesome-client +postsynchook = echo 'mymailwidget:set_count()' | awesome-client; /home/slash/usr/bin/mail-notify ninthfloor [Repository ninthfloor-local] type = Maildir