Fix mu4e auto context switching

Update mu4e modeline icons to be more distinct
This commit is contained in:
Evie Litherland-Smith 2023-10-11 07:38:48 +01:00
parent a8c6482574
commit 1e9881fc59

View file

@ -42,7 +42,7 @@
;; mail settings ;; mail settings
(after! mu4e (after! mu4e
(setq mu4e-get-mail-command "true" (setq mu4e-get-mail-command "true"
mu4e-update-interval 60 mu4e-update-interval 300
mu4e-sent-messages-behavior 'delete mu4e-sent-messages-behavior 'delete
mu4e-attachment-dir "~/Downloads" mu4e-attachment-dir "~/Downloads"
mu4e-change-filenames-when-moving t mu4e-change-filenames-when-moving t
@ -56,27 +56,27 @@
(:maildir "/iCloud/Inbox/" :key ?i) (:maildir "/iCloud/Inbox/" :key ?i)
(:maildir "/UKAEA/Inbox/" :key ?u))) (:maildir "/UKAEA/Inbox/" :key ?u)))
(setq mu4e-modeline-all-read '("R:" . "󰪱 ") (setq mu4e-modeline-all-read '("R:" . "󰑇 ")
mu4e-modeline-all-clear '("C:" . "󰪱 ") mu4e-modeline-all-clear '("C:" . "󰚭 ")
mu4e-modeline-new-items '("N:" . "󱃚 ") mu4e-modeline-new-items '("N:" . "󰎔 ")
mu4e-modeline-unread-items '("U:" . "󰛏 ")) mu4e-modeline-unread-items '("U:" . "󰮒 "))
;; Add accounts with contexts ;; Add accounts with contexts
(set-email-account! "proton.me" (set-email-account! "Proton"
'((user-mail-address . "e.litherlandsmith@proton.me") '((user-mail-address . "e.litherlandsmith@proton.me")
(mu4e-sent-folder . "/Proton/Sent") (mu4e-sent-folder . "/Proton/Sent")
(mu4e-drafts-folder . "/Proton/Drafts") (mu4e-drafts-folder . "/Proton/Drafts")
(mu4e-trash-folder . "/Proton/Trash") (mu4e-trash-folder . "/Proton/Trash")
(mu4e-refile-folder . "/Proton/Archive")) (mu4e-refile-folder . "/Proton/Archive"))
t) t)
(set-email-account! "icloud.com" (set-email-account! "iCloud"
'((user-mail-address . "e.litherlandsmith@icloud.com") '((user-mail-address . "e.litherlandsmith@icloud.com")
(mu4e-sent-folder . "/iCloud/Sent") (mu4e-sent-folder . "/iCloud/Sent")
(mu4e-drafts-folder . "/iCloud/Drafts") (mu4e-drafts-folder . "/iCloud/Drafts")
(mu4e-trash-folder . "/iCloud/Trash") (mu4e-trash-folder . "/iCloud/Trash")
(mu4e-refile-folder . "/iCloud/Archive")) (mu4e-refile-folder . "/iCloud/Archive"))
nil) nil)
(set-email-account! "ukaea.uk" (set-email-account! "UKAEA"
'((user-mail-address . "evie.litherland-smith@ukaea.uk") '((user-mail-address . "evie.litherland-smith@ukaea.uk")
(mu4e-sent-folder . "/UKAEA/Sent") (mu4e-sent-folder . "/UKAEA/Sent")
(mu4e-drafts-folder . "/UKAEA/Drafts") (mu4e-drafts-folder . "/UKAEA/Drafts")