Created
April 4, 2015 13:54
-
-
Save bmcculley/b99a839f5089785e2c22 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
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
import subprocess | |
def sendmessage(message): | |
subprocess.Popen(['notify-send', message]) | |
return | |
sendmessage('Hello OSD This is my first programmatic OSD notification') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment