summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-12-16 22:49:29 +0100
committerGravatar Tom Willemse2015-12-16 22:49:29 +0100
commita9f0f63a431a5decf97f293472fe5664a7715f6f (patch)
treea3728c63592646995025b644a82ba7e94301b9f9 /emacs
parent3c71390a267c56fa33f5df9f93d0693038a064d8 (diff)
downloaddotfiles-a9f0f63a431a5decf97f293472fe5664a7715f6f.tar.gz
dotfiles-a9f0f63a431a5decf97f293472fe5664a7715f6f.zip
Remove unused awesome functions
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el15
1 files changed, 0 insertions, 15 deletions
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"))