Created
August 24, 2009 07:58
-
-
Save doitian/173730 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
(dbus-call-method | |
:session "org.freedesktop.Notifications" | |
"/org/freedesktop/Notifications" | |
"org.freedesktop.Notifications" "Notify" | |
"GNU Emacs" ;; Application name. | |
0 ;; No replacement of other notifications. | |
"" ;; No icon. | |
"Notification summary" ;; Summary. | |
(format ;; Body. | |
"This is a test notification, raised from %s" (emacs-version)) | |
'(:array) ;; No actions (empty array of strings). | |
'(:array :signature "{sv}") ;; No hints | |
;; (empty array of dictionary entries). | |
':int32 -1) ;; Default timeout. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment