X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=41e27b6962ae7dc2a86bf9cd6869e822923aa5dd;hb=7f722b738c80ce38491a43bc8fb5e91bb586e005;hp=feee62b58bc4f2e220c9295b9e5b18f32c7194f7;hpb=af4a3f82fde54436b5393682364c0340b661c554;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index feee62b..41e27b6 100755 --- a/autorandr.py +++ b/autorandr.py @@ -23,23 +23,28 @@ # 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 +import shutil +import time +from collections import OrderedDict +from distutils.version import LooseVersion as Version from functools import reduce from itertools import chain -from collections import OrderedDict - -import posix +try: + input = raw_input +except NameError: + pass virtual_profiles = [ # (name, description, callback) @@ -54,6 +59,7 @@ 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