diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-14 19:59:58 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-14 19:59:58 +0100 |
commit | c46eb84ddd0ca89b3e9a35146d6f89798698d53b (patch) | |
tree | 96d3afaad39b840afd147fdc5b898c39cc02f3be /src/__main__.py | |
parent | add monitor control without native binding (diff) | |
download | blueshift-c46eb84ddd0ca89b3e9a35146d6f89798698d53b.tar.gz blueshift-c46eb84ddd0ca89b3e9a35146d6f89798698d53b.tar.bz2 blueshift-c46eb84ddd0ca89b3e9a35146d6f89798698d53b.tar.xz |
doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/__main__.py')
-rwxr-xr-x | src/__main__.py | 17 |
1 files changed, 15 insertions, 2 deletions
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 |