Turn off mu4e-alert

This commit is contained in:
Jeremy Dormitzer 2019-05-04 11:41:43 -04:00
parent ae3c7c28d1
commit a2e8af8906

View File

@ -1824,23 +1824,23 @@ Some keybindings to send the current org buffer or subtree as an email:
Desktop notifications for mu4e emails.
#+BEGIN_SRC emacs-lisp
(defun jdormit-get-mu4e-alert-style ()
(if (memq window-system '(mac ns))
'notifier
'libnotify))
(use-package mu4e-alert
:config
(setq mu4e-alert-interesting-mail-query
(concat
"flag:unread maildir:/jeremy-dormitzer-gmail-com/Inbox"
" OR flag:unread maildir:/jeremy-dormitzer-net/Inbox"
" OR flag:unread maildir:/jeremydormitzer-lola-com/Inbox"
" OR flag:unread maildir:/jeremy-getpterotype-com/Inbox"))
(mu4e-alert-set-default-style (jdormit-get-mu4e-alert-style))
(mu4e-alert-enable-notifications)
(mu4e-alert-enable-mode-line-display)
(leader-def-key "amu" #'mu4e-alert-view-unread-mails))
;; (defun jdormit-get-mu4e-alert-style ()
;; (if (memq window-system '(mac ns))
;; 'notifier
;; 'libnotify))
;;
;; (use-package mu4e-alert
;; :config
;; (setq mu4e-alert-interesting-mail-query
;; (concat
;; "flag:unread maildir:/jeremy-dormitzer-gmail-com/Inbox"
;; " OR flag:unread maildir:/jeremy-dormitzer-net/Inbox"
;; " OR flag:unread maildir:/jeremydormitzer-lola-com/Inbox"
;; " OR flag:unread maildir:/jeremy-getpterotype-com/Inbox"))
;; (mu4e-alert-set-default-style (jdormit-get-mu4e-alert-style))
;; (mu4e-alert-enable-notifications)
;; (mu4e-alert-enable-mode-line-display)
;; (leader-def-key "amu" #'mu4e-alert-view-unread-mails))
#+END_SRC
* w3m
@ -2514,10 +2514,10 @@ becomes:
#+END_SRC
#+BEGIN_SRC emacs-lisp
(use-package alert
:commands (alert)
:init
(setq alert-default-style (jdormit-get-mu4e-alert-style)))
;; (use-package alert
;; :commands (alert)
;; :init
;; (setq alert-default-style (jdormit-get-mu4e-alert-style)))
#+END_SRC
* Matrix