X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=9db5774bc4317c1762b3d9323b970705adb67e71;hb=4983ad5e8c8e1d63a5eccb713e3d53a6a791db95;hp=e79aefbc72470cf130f8aa74ce9f7e7883162574;hpb=0c01c37e5db07e2a81ff248b23f473eb84119d87;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index e79aefb..9db5774 100755 --- a/autorandr.py +++ b/autorandr.py @@ -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