add a sispmctl_device
[~helmut/onoff.git] / dbus_service.py
index 6fb6daf..94ff9b5 100755 (executable)
@@ -23,7 +23,7 @@ def main():
     bus = dbus.SessionBus()
     dev = onoff.process.OnoffProcess(["redshift"], 3)
     dev = onoff.common.InvertedDevice(dev)
-    dev = onoff.common.ThrottledDevice(dev, 5)
+    dev = onoff.common.ThrottledDevice(dev, 1, 5)
     onoff.dbusutils.OnoffControl(bus, "redshift", dev)
     GObject.MainLoop().run()