summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/lisp-esque2
-rw-r--r--examples/lisp-esque.conf19
2 files changed, 11 insertions, 10 deletions
diff --git a/examples/lisp-esque b/examples/lisp-esque
index 0ec3551..61e1586 100644
--- a/examples/lisp-esque
+++ b/examples/lisp-esque
@@ -496,7 +496,7 @@ class CIEInvert:
def __init__(self):
self.monitors = [(False, False, False, False, False, False)]
def __call__(self, monitor, alpha):
- cie_invert(self.monitors[monitor][3 if alpha == 0 else 0])
+ cie_invert(*(self.monitors[monitor][3 if alpha == 0 else 0:][:3]))
def _invert(mods, args):
'''
diff --git a/examples/lisp-esque.conf b/examples/lisp-esque.conf
index 4e6a8e1..19ee95c 100644
--- a/examples/lisp-esque.conf
+++ b/examples/lisp-esque.conf
@@ -132,15 +132,16 @@
; The two above combined: (icc:filter (nil nil nil) (nil nil nil))
; Negative image settings.
- (negative no) ; Does nothing
- ; (negative yes) ; Inverts the colours on the encoding axes
- ; (negative) ; Synonym for the above
- ; (negative (yes no no)) ; Inverts the red colour on the encoding axis
- ; (negative yes no) ; Inverts the colours on the encoding axes on the first monitor
- ; ; but not the second monitor selected by (monitors)
- ; (invert yes) ; Inverts the colours on the output axes using the sRGB colour space
- ; (invert (yes no no)) ; Inverts the red colour on the output axes using the sRGB colour space
- ; (invert:cie yes) ; Inverts the colours on the output axes using the CIE xyY colour space
+ (negative no) ; Does nothing
+ ; (negative yes) ; Inverts the colours on the encoding axes
+ ; (negative) ; Synonym for the above
+ ; (negative (yes no no)) ; Inverts the red colour on the encoding axis
+ ; (negative yes no) ; Inverts the colours on the encoding axes on the first monitor
+ ; ; but not the second monitor selected by (monitors)
+ ; (invert yes) ; Inverts the colours on the output axes using the sRGB colour space
+ ; (invert (yes no no)) ; Inverts the red colour on the output axes using the sRGB colour space
+ ; (invert:cie yes) ; Inverts the colours on the output axes using the CIE xyY colour space
+ ; (invert:cie (yes no no)) ; Inverts the red colour on the output axes using the CIE xyY colour space
; These cannot be time dependent.
; Colour temperature at high day and high night, respectively.