Skip to content

Instantly share code, notes, and snippets.

View jacekmitrega's full-sized avatar

Jacek Mitręga jacekmitrega

  • Yelp
  • Hamburg, Germany
View GitHub Profile
@jacekmitrega
jacekmitrega / gist:a94fefc041da8288f466
Last active August 29, 2015 14:18
Jolla :: setAmbience
#!/usr/bin/env python
import sys
ambience_name = sys.argv[1]
import dbus, dbus.proxies
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
bus = dbus.SessionBus()