X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/de295c49e1321b7ec020cad2c840a2d43624b0d3..f6b1eaf93cbaac4bcef2349fd436b5bdd43a5a23:/spacemacs/.emacs.d/private/aminb/packages.el?ds=inline diff --git a/spacemacs/.emacs.d/private/aminb/packages.el b/spacemacs/.emacs.d/private/aminb/packages.el index 23be6fa..fb336a3 100644 --- a/spacemacs/.emacs.d/private/aminb/packages.el +++ b/spacemacs/.emacs.d/private/aminb/packages.el @@ -141,10 +141,12 @@ erc-modified-channels-alist. Should be executed on window change." :config (progn (setq mu4e-maildir "~/mail" - mu4e-get-mail-command "mbsync -aq" ;; or fetchmail, or ... + mu4e-get-mail-command "mbsync -a" ;; or fetchmail, or ... 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 @@ -157,6 +159,7 @@ erc-modified-channels-alist. Should be executed on window change." mu4e-drafts-folder "/amin/Drafts" mu4e-trash-folder "/amin/Trash" user-mail-address "amin@aminb.org" + mu4e-context-policy 'pick-first mu4e-contexts (list (make-mu4e-context :name "amin" @@ -187,7 +190,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-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