Created
April 21, 2017 12:21
-
-
Save piotrklibert/37697db0fa742054835eafdfb9b7e492 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-jabber-alert macos | |
"Displays message using terminal-notifier app on Mac OS" | |
'terminal-notifier-notify) | |
(defun terminal-notifier-notify (message &optional title) | |
"Show a message with `terminal-notifier-command`." | |
(start-process "terminal-notifier" | |
"*terminal-notifier*" | |
"reattach-to-user-namespace" | |
"terminal-notifier" | |
"-title" title | |
"-message" message | |
"-activate" "org.gnu.Emacs")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment