Update awesome mail widget
This commit is contained in:
parent
5d9ad8a032
commit
742577668a
1 changed files with 1 additions and 5 deletions
|
@ -164,11 +164,7 @@ MODE1 is enabled and vice-versa."
|
||||||
"Update mailcount widget for GNUS-GROUP.
|
"Update mailcount widget for GNUS-GROUP.
|
||||||
|
|
||||||
But only if it is a maildir inbox."
|
But only if it is a maildir inbox."
|
||||||
(let ((name (and
|
(awesome-send "mymailwidget:set_count()"))
|
||||||
(string-match "^nnmaildir\\+\\(.*\\):inbox$" gnus-group)
|
|
||||||
(match-string 1 gnus-group))))
|
|
||||||
(when name
|
|
||||||
(awesome-send (format "mailwidgets.%s:set_mailcount()" name)))))
|
|
||||||
|
|
||||||
(defun awesome-update-current-mailbox ()
|
(defun awesome-update-current-mailbox ()
|
||||||
"Update mailcount widget for current gnus group."
|
"Update mailcount widget for current gnus group."
|
||||||
|
|
Loading…
Reference in a new issue