Skip to content

Commit

Permalink
tweak(mu4e-alert): use icon only if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 6, 2023
1 parent 6a3fd7d commit f531cda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/me-email.el
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@
:after mu4e
:demand t
:custom
(mu4e-alert-icon "/usr/share/icons/Papirus/64x64/apps/mail-client.svg")
(mu4e-alert-icon
(let ((icon "/usr/share/icons/Papirus/64x64/apps/mail-client.svg"))
(when (file-exists-p icon) icon)))
(mu4e-alert-set-window-urgency nil)
(mu4e-alert-group-by :to)
(mu4e-alert-email-notification-types '(subjects))
Expand Down

0 comments on commit f531cda

Please sign in to comment.