X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=596d3ffb504d20f04d3cbad2dba2956efe660ddf;hb=584cb019bdb3f3047c14e1aa6355027078087c01;hp=f9e9f4c16d7347047f67aa94525f3d5f87eda645;hpb=de8ef9f2dee910821d9b1083e1fa163986446fd5;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index f9e9f4c..596d3ff 100755 --- a/autorandr.py +++ b/autorandr.py @@ -23,19 +23,22 @@ # from __future__ import print_function -import copy -import getopt import binascii +import copy +import getopt import hashlib import os +import posix import re import subprocess import sys -from distutils.version import LooseVersion as Version -from itertools import chain from collections import OrderedDict +from distutils.version import LooseVersion as Version +from functools import reduce +from itertools import chain + virtual_profiles = [ # (name, description, callback) @@ -52,10 +55,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