Enable mu4e mode-line & notifications; and fix up error in .mbsyncrc
authorAmin Bandali <amin@aminb.org>
Mon, 12 Dec 2016 08:29:39 +0000 (03:29 -0500)
committerAmin Bandali <amin@aminb.org>
Mon, 12 Dec 2016 08:29:39 +0000 (03:29 -0500)
isync/.mbsyncrc
spacemacs/.emacs.d/private/aminb/packages.el

index 2a19b5d..15bfbec 100644 (file)
@@ -2,9 +2,9 @@
 CopyArrivalDate yes
 
 ######
 CopyArrivalDate yes
 
 ######
-User amin@aminb.org
 IMAPAccount amin
 Host nix.aminb.org
 IMAPAccount amin
 Host nix.aminb.org
+User amin@aminb.org
 PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/amin.gpg"
 SSLType IMAPS
 
 PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/amin.gpg"
 SSLType IMAPS
 
index 23be6fa..36c9400 100644 (file)
@@ -145,6 +145,8 @@ erc-modified-channels-alist. Should be executed on window change."
             mu4e-update-interval 300             ;; update every 5 minutes
             mu4e-view-show-addresses t
             mu4e-headers-include-related t
             mu4e-update-interval 300             ;; update every 5 minutes
             mu4e-view-show-addresses t
             mu4e-headers-include-related t
+            mu4e-enable-notifications t
+            mu4e-enable-mode-line t
             mu4e-compose-signature-auto-include t
             mu4e-compose-signature
             (concat
             mu4e-compose-signature-auto-include t
             mu4e-compose-signature
             (concat
@@ -187,7 +189,10 @@ erc-modified-channels-alist. Should be executed on window change."
                              (smtpmail-default-smtp-server . "smtp.gmail.com")
                              (smtpmail-smtp-server . "smtp.gmail.com")
                              (smtpmail-stream-type . starttls)
                              (smtpmail-default-smtp-server . "smtp.gmail.com")
                              (smtpmail-smtp-server . "smtp.gmail.com")
                              (smtpmail-stream-type . starttls)
-                             (smtpmail-smtp-service . 587)))))))
+                             (smtpmail-smtp-service . 587)))))
+      (with-eval-after-load 'mu4e-alert
+        ;; Enable Desktop notifications
+        (mu4e-alert-set-default-style 'notifications))))
 
   (use-package gnus-dired
     ;; A special version of the gnus-dired-mail-buffers function
 
   (use-package gnus-dired
     ;; A special version of the gnus-dired-mail-buffers function