diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 056fee9..bce88dd 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -137,21 +137,6 @@ MODE1 is enabled and vice-versa." ;;;; 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 () "Update the mailcount in the wm." (shell-command-to-string "new-mail-mowedline"))