X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=5a0dd89bd373665d918a8b6387ee03fc6c1164f5;hb=a79eb293b74d11dba714cb59412a70a345b42342;hp=8fc597da6cb8b95a97675efa86049b45aa34ace6;hpb=f6a5323f865e76c961e4822d4eacc573a5244317;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 8fc597d..5a0dd89 100755 --- a/autorandr.py +++ b/autorandr.py @@ -4,7 +4,7 @@ # autorandr.py # Copyright (c) 2015, Phillip Berndt # -# Experimental autorandr rewrite in Python +# Autorandr rewrite in Python # # This script aims to be fully compatible with the original autorandr. # @@ -34,9 +34,13 @@ import subprocess import sys from distutils.version import LooseVersion as Version +from functools import reduce from itertools import chain from collections import OrderedDict +import posix + + virtual_profiles = [ # (name, description, callback) ("common", "Clone all connected outputs at the largest common resolution", None), @@ -52,6 +56,8 @@ Usage: autorandr [options] -s, --save save your current setup to profile -l, --load load profile -d, --default make profile the default profile +--skip-options