X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=adeaa6099ecd2917b6f437fc3f0987502b01e8f1;hb=0243a5bb29217d0a9fb3dbe510ea9a00c9a13a49;hp=8c304030f6f04e717e897cdeb240292de1461a3d;hpb=71c6ab1e129b0cfc79e5352daf10f9845dad4d93;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 8c30403..adeaa60 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