Skip to content

Commit

Permalink
Merge pull request #2612 from seanfarley/smf/alert
Browse files Browse the repository at this point in the history
mu4e: add support for macOS notifications
  • Loading branch information
djcb committed Dec 22, 2023
2 parents a8f002b + bbb81ed commit eda3b93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mu4e/mu4e-notification.el
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ support."
(if (= delta-unread 1) "" "s")
(plist-get fav :name))))
(cond
((fboundp 'do-applescript)
(do-applescript
(format "display notification %S with title %S" body title)))
((fboundp 'notifications-notify)
;; notifications available
(setq mu4e--notification-id
Expand Down

0 comments on commit eda3b93

Please sign in to comment.