Commit 00d6f265 authored by Guilherme Semente's avatar Guilherme Semente 🌱

Improve mu4e notifications and bookmarks

parent eb99982b
......@@ -934,8 +934,9 @@ You may find other key bindings inside use-package statements."
(use-package mu4e-alert
:ensure t
:config
(setq mu4e-alert-interesting-mail-query "(maildir:/inbox AND flag:unread AND date:today..now)")
(setq mu4e-alert-email-notification-types '(subjects)
mu4e-alert-interesting-mail-query
"(maildir:/inbox AND flag:unread AND date:today..now AND NOT flag:list)")
(mu4e-alert-enable-notifications)
(mu4e-alert-set-default-style 'libnotify)
......@@ -989,19 +990,13 @@ You may find other key bindings inside use-package statements."
mu4e-attachment-dir "~/downloads/mu4e"
mu4e-maildir-shortcuts '(("/inbox" . ?i) ("/archive" . ?a) ("/drafts" . ?d)
("/trash" . ?t) ("/spam" . ?s)))
(setq
(setq semente-mu4e-inbox-expr "((m:/inbox OR m:/drafts) OR (m:/sent)"
mu4e-contexts semente-mu4e-contexts
mu4e-bookmarks
'(((concat "date:today..now AND " semente-mu4e-inbox-expr) "Today's Inbox" ?t)
((concat "date:..1d AND " semente-mu4e-inbox-expr) "Yesterday's Inbox" ?y)
((concat
(concat "NOT list:* AND " semente-mu4e-inbox-expr)
" OR "
(concat "flagged AND " semente-mu4e-inbox-expr))
"Important messages" ?x)
("flag:flagged" "Flagged" ?f)
((concat "(flag:flagged AND " semente-mu4e-inbox-expr ") OR (NOT flag:list AND "
semente-mu4e-inbox-expr ")") "Important messages" ?x)
("flag:list AND NOT (flag:trashed OR m:/archive OR m:/spam)" "Mailing lists" ?g)
("date:7d..now AND NOT m:/spam" "Last 7 days" ?l)
("m:/spam" "Spam" ?s))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment