summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-04 17:36:17 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-04 17:36:17 +0100
commit45a0afd80226b561fe609e594c2c9120f6e0642e (patch)
tree3f9095832e35bce685acdf449e2a9c5d10890d90 /examples
parentadd -r support for one shot mode in comprehensive example (diff)
downloadblueshift-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')
-rw-r--r--examples/comprehensive2
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.