summaryrefslogtreecommitdiffstats
path: root/src/adhoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/adhoc.py')
-rw-r--r--src/adhoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adhoc.py b/src/adhoc.py
index 4e130af..19ece22 100644
--- a/src/adhoc.py
+++ b/src/adhoc.py
@@ -74,7 +74,7 @@ def reduce(f, items):
rc = f(rc, items[i])
return rc
output = reduce(lambda x, y : x + y, [a.split(',') for a in output])
-monitor_controller = lambda : randr(*output)
+monitor_controller = lambda : (drm if ttymode else randr)(*output)
def apply(dayness, pureness):
'''