summaryrefslogtreecommitdiffstats
path: root/offlineimap
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-05-02 17:25:40 +0200
committerGravatar Tom Willemse2015-05-02 17:25:40 +0200
commit9ebfbdd6629b362606a7d9e63c1029439fd3fdac (patch)
tree069b12149eb7c06e3c7c2f7ac8317b95d41fbc33 /offlineimap
parentcc2baa023e7b785e992bf006eab68a9cf5a932bf (diff)
downloaddotfiles-9ebfbdd6629b362606a7d9e63c1029439fd3fdac.tar.gz
dotfiles-9ebfbdd6629b362606a7d9e63c1029439fd3fdac.zip
Notify me of new mails
Diffstat (limited to 'offlineimap')
-rw-r--r--offlineimap/.offlineimaprc8
1 files 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