From 61f4611942ccbe8f351732c0ba54519d2d8377f8 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 20 Jan 2015 14:38:58 +0100 Subject: Set mailcounts in awesome --- offlineimap/.offlineimaprc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'offlineimap') 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 -- cgit v1.2.3-54-g00ecf