diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc index 48b3017..b00870b 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 = /home/slash/usr/bin/emacs-send-mail ryuslash.org +postsynchook = echo 'mailwidgets.ryuslash:set_mailcount()' | awesome-client [Repository ryuslash.org-local] type = Maildir @@ -25,6 +25,7 @@ nametrans = lambda folder: folder.lower() [Account picturefix] localrepository = picturefix-local remoterepository = picturefix-remote +postsynchook = echo 'mailwidgets.picturefix:set_mailcount()' | awesome-client [Repository picturefix-local] type = Maildir @@ -62,7 +63,7 @@ nametrans = lambda folder: re.sub('^INBOX$', 'inbox', re.sub('^\[Gmail\]/ [Account gmail] localrepository = gmail-local remoterepository = gmail-remote -# postsynchook = /home/slash/usr/bin/emacs-send-mail gmail +postsynchook = echo 'mailwidgets.gmail:set_mailcount()' | awesome-client [Repository gmail-local] type = Maildir @@ -81,7 +82,7 @@ sslcacertfile = /etc/ssl/certs/ca-certificates.crt [Account ninthfloor] localrepository = ninthfloor-local remoterepository = ninthfloor-remote -# postsynchook = /home/slash/usr/bin/emacs-send-mail ninthfloor +postsynchook = echo 'mailwidgets.ninthfloor:set_mailcount()' | awesome-client [Repository ninthfloor-local] type = Maildir