From c46eb84ddd0ca89b3e9a35146d6f89798698d53b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 14 Feb 2014 19:59:58 +0100 Subject: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/__main__.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/__main__.py b/src/__main__.py index 5185e81..8cf70ae 100755 --- a/src/__main__.py +++ b/src/__main__.py @@ -27,7 +27,7 @@ def periodically(year, month, day, hour, minute, second, weekday, fade): If you want to control at what to invoke this function next time you can set the value of the global variable `wait_period` to the - number of seconds to wait before invocing this function again. + number of seconds to wait before invoking this function again. The value does not need to be an integer. @param year:int The year @@ -69,10 +69,23 @@ def periodically(year, month, day, hour, minute, second, weekday, fade): -## Set globals variables periodically = None +''' +:(int, int, int, int, int, int, int, float?)?→void Place holder for periodically invoked function +''' + wait_period = 60 +''' +:float The number of seconds to wait before invoking `periodically` again +''' + monitor_controller = lambda : randr() +''' +:()→void Function used by Blueshift on exit to apply reset colour curves +''' + + +## Set globals variables global DATADIR, i_size, o_size, r_curve, g_curve, b_curve, clip_result global periodically, wait_period, monitor_controller -- cgit v1.2.3-70-g09d2