X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=xsetbg-dbus-client.py;h=6775159a09d4b6f6e98eaab883d785a716596591;hb=4e7394a7e103cf0633cc9c42d9959aa94f2d7c9a;hp=3a0087ae065b50ec32b8f84f6fb9f7b34e1b0150;hpb=256c9d813e1ec3cca260ab5f9f2bbaa172115044;p=xsetbg.git diff --git a/xsetbg-dbus-client.py b/xsetbg-dbus-client.py index 3a0087a..6775159 100755 --- a/xsetbg-dbus-client.py +++ b/xsetbg-dbus-client.py @@ -18,7 +18,7 @@ def main(): sys.exit('Usage: %s command' % sys.argv[0]) bus = dbus.SessionBus() - remote_object = bus.get_object("name.phdru.XSetBg", "/XSetBg") + remote_object = bus.get_object("name.phdru.XSetBg", "/name/phdru/XSetBg") iface = dbus.Interface(remote_object, "name.phdru.XSetBg") getattr(iface, command)()