X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=812329ddf72e78d8dd01bc158fa37cc74ed1cdc1;hb=9d4f09ed4f66a25d2f580f60ad4fda024e573b71;hp=481d810e561f1510ea0ee9c6275eb079491a9d98;hpb=a50ac263773294c16836189f55663ed7c861d5c0;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 481d810..812329d 100755 --- a/autorandr.py +++ b/autorandr.py @@ -23,20 +23,28 @@ # from __future__ import print_function -import copy -import getopt +import time 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 +import shutil +from collections import OrderedDict +from distutils.version import LooseVersion as Version from functools import reduce from itertools import chain -from collections import OrderedDict + +try: + input = raw_input +except NameError: + pass virtual_profiles = [ # (name, description, callback) @@ -51,12 +59,16 @@ Usage: autorandr [options] -h, --help get this small help -c, --change reload current setup -s, --save save your current setup to profile +-r, --remove remove profile -l, --load load profile -d, --default make profile the default profile +--skip-options