X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=f262e6dd989f19dc2ab6c6390092dfff4a65740b;hb=65f956533b9d3e4ecab1b5816a9f6afdcf190b0d;hp=9dea362b1baf7e94b7649a22f5a36bff7bf4097f;hpb=0bb7e07999cb8f54d25c3d5fce5a3d6ad17c6bb2;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 9dea362..f262e6d 100755 --- a/autorandr.py +++ b/autorandr.py @@ -23,19 +23,23 @@ # 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 -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) @@ -50,12 +54,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