X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=feee62b58bc4f2e220c9295b9e5b18f32c7194f7;hb=af4a3f82fde54436b5393682364c0340b661c554;hp=01632ee86e1f329e0ec74ca82ae24943a36c0423;hpb=2b0a226d0d370c79901d77c0d70a9f72d9e45a41;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 01632ee..feee62b 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,10 +56,13 @@ Usage: autorandr [options] -s, --save save your current setup to profile -l, --load load profile -d, --default make profile the default profile +--skip-options