Created
July 26, 2015 09:19
-
-
Save oprypin/694381c0adf88b60fdce to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import dbus | |
bus = dbus.SessionBus() | |
proxy = bus.get_object("org.freedesktop.Notifications", "/org/freedesktop/Notifications") | |
proxy.Notify("app", dbus.UInt32(0), "", "title", "body", dbus.Array([], signature="s"), dbus.Dictionary({}, signature="sv"), 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment