Created
April 2, 2016 05:22
-
-
Save mrtc0/e2eabd381c564c7c62ff04cceb305bf2 to your computer and use it in GitHub Desktop.
Desktop Notification
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
#!/usr/bin/python | |
from gi.repository import Notify | |
Notify.init ("Hello world") | |
Hello=Notify.Notification.new ("Hello world","This is an example notification.","dialog-information") | |
Hello.show () |
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
!#/bin/bash | |
notify-send 'Hello world!' 'This is an example notification.' --icon=dialog-information |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment