#!/usr/bin/python from pynotify import * import sys def notify(desc="",message=""): n = Notification(desc, message) n.show() init("cli notify") if len(sys.argv) > 1: notify(sys.argv[1], sys.argv[2]) else: notify()