diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-04 17:36:17 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-04 17:36:17 +0100 |
commit | 45a0afd80226b561fe609e594c2c9120f6e0642e (patch) | |
tree | 3f9095832e35bce685acdf449e2a9c5d10890d90 /examples/comprehensive | |
parent | add -r support for one shot mode in comprehensive example (diff) | |
download | blueshift-45a0afd80226b561fe609e594c2c9120f6e0642e.tar.gz blueshift-45a0afd80226b561fe609e594c2c9120f6e0642e.tar.bz2 blueshift-45a0afd80226b561fe609e594c2c9120f6e0642e.tar.xz |
-r support for continuous mode in comprehensive example
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples/comprehensive')
-rw-r--r-- | examples/comprehensive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/comprehensive b/examples/comprehensive index ce6adbf..1ee514f 100644 --- a/examples/comprehensive +++ b/examples/comprehensive @@ -377,7 +377,7 @@ def reset(): randr(monitors[m % len(monitors)]) -if get_dayness is not None: +if (get_dayness is not None) and not doreset: # Set transition time, 0 on high day and 5 seconds on high night. fadein_time = 5 * (1 - get_dayness()) # Do 10 changes per second. |