Remove unused awesome functions
This commit is contained in:
parent
3c71390a26
commit
a9f0f63a43
1 changed files with 0 additions and 15 deletions
|
@ -137,21 +137,6 @@ MODE1 is enabled and vice-versa."
|
||||||
|
|
||||||
;;;; Functions
|
;;;; Functions
|
||||||
|
|
||||||
(defun awesome-send (command)
|
|
||||||
"Send COMMAND through awesome-client to awesome."
|
|
||||||
(shell-command (format "echo '%s' | awesome-client" command)))
|
|
||||||
|
|
||||||
(defun awesome-update-mailbox (_gnus-group)
|
|
||||||
"Update mailcount widget for GNUS-GROUP.
|
|
||||||
|
|
||||||
But only if it is a maildir inbox."
|
|
||||||
(awesome-send "mymailwidget:set_count()"))
|
|
||||||
|
|
||||||
(defun awesome-update-current-mailbox ()
|
|
||||||
"Update mailcount widget for current gnus group."
|
|
||||||
(when (and (boundp 'gnus-newsgroup-name) gnus-newsgroup-name)
|
|
||||||
(awesome-update-mailbox gnus-newsgroup-name)))
|
|
||||||
|
|
||||||
(defun update-mailcount ()
|
(defun update-mailcount ()
|
||||||
"Update the mailcount in the wm."
|
"Update the mailcount in the wm."
|
||||||
(shell-command-to-string "new-mail-mowedline"))
|
(shell-command-to-string "new-mail-mowedline"))
|
||||||
|
|
Loading…
Reference in a new issue