diff options
author | Tom Willemse | 2015-01-20 14:38:58 +0100 |
---|---|---|
committer | Tom Willemse | 2015-01-20 14:38:58 +0100 |
commit | 61f4611942ccbe8f351732c0ba54519d2d8377f8 (patch) | |
tree | 5521c44d5627b2e5aa8c5e432c313c803c4a210a /offlineimap | |
parent | 532caa4c2912d1aef83624a651f229dc1070587f (diff) | |
download | dotfiles-61f4611942ccbe8f351732c0ba54519d2d8377f8.tar.gz dotfiles-61f4611942ccbe8f351732c0ba54519d2d8377f8.zip |
Set mailcounts in awesome
Diffstat (limited to 'offlineimap')
-rw-r--r-- | offlineimap/.offlineimaprc | 7 |
1 files changed, 4 insertions, 3 deletions
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 |