From 24c87751ea37c948565d40cb84d7726466b0c4b0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 13 Mar 2014 23:31:48 +0100 Subject: ttymode variable + document drm support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/adhoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/adhoc.py') 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): ''' -- cgit v1.2.3-70-g09d2