14 sys.exit('Usage: %s command' % sys.argv[0])
16 bus = dbus.SessionBus()
17 remote_object = bus.get_object("name.phdru.XSetBg", "/name/phdru/XSetBg")
18 iface = dbus.Interface(remote_object, "name.phdru.XSetBg")
20 getattr(iface, command)()
23 if __name__ == '__main__':