From 6d9a84e62e378ba0035bb3730b8db2c00c208b3b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 16 Mar 2014 20:26:50 +0100 Subject: darkroom bug fix: order of filters was incorrect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/darkroom | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/darkroom b/examples/darkroom index cd4f5eb..1bec693 100644 --- a/examples/darkroom +++ b/examples/darkroom @@ -65,6 +65,10 @@ for m in range(max(1, len(monitors))): if not doreset: # Invert colours. cie_invert() + # Make the screen red by removing other colours. + rgb_brightness(1, 0, 0) + # Dim the screen. + cie_brightness(0.25) # Apply gamma correction to monitor. r = gamma_red [m % len(gamma_red)] @@ -72,11 +76,6 @@ for m in range(max(1, len(monitors))): b = gamma_blue [m % len(gamma_blue)] gamma(r, g, b) - if not doreset: - # Make the screen red by removing other colours - rgb_brightness(1, 0, 0) - cie_brightness(0.25) - # Flush settings to monitor. if len(monitors) == 0: (drm if ttymode else randr)() -- cgit v1.2.3-70-g09d2