diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-13 23:31:48 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-13 23:31:48 +0100 |
commit | 24c87751ea37c948565d40cb84d7726466b0c4b0 (patch) | |
tree | e2ff3bb543cd533f30e09f352d51da6bb3cdd45f /src/adhoc.py | |
parent | fix and demo drm support (diff) | |
download | blueshift-24c87751ea37c948565d40cb84d7726466b0c4b0.tar.gz blueshift-24c87751ea37c948565d40cb84d7726466b0c4b0.tar.bz2 blueshift-24c87751ea37c948565d40cb84d7726466b0c4b0.tar.xz |
ttymode variable + document drm support
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/adhoc.py')
-rw-r--r-- | src/adhoc.py | 2 |
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): ''' |