Set mailcounts in awesome
This commit is contained in:
parent
532caa4c29
commit
61f4611942
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue