X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=24d8b3a9df0674291c91ac88756975fc08223315;hb=01f69939e06274ffb725dd367013769c7585cfc0;hp=713ff4b4f6bae8a10d62e12c614a469ede4332e3;hpb=5072674fcf90e20f8e381d86f33038fc8f2b288b;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 713ff4b..24d8b3a 100755 --- a/autorandr.py +++ b/autorandr.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 # # autorandr.py @@ -44,7 +44,7 @@ from itertools import chain try: from packaging.version import Version -except ModuleNotFound: +except ModuleNotFoundError: from distutils.version import LooseVersion as Version if sys.version_info.major == 2: @@ -80,11 +80,14 @@ Usage: autorandr [options] --batch run autorandr for all users with active X11 sessions --current only list current (active) configuration(s) --config dump your current xrandr setup +--cycle automatically load the next detected profile --debug enable verbose output --detected only list detected (available) configuration(s) --dry-run don't change anything, only print the xrandr commands --fingerprint fingerprint your current hardware setup +--match-edid match diplays based on edid instead of name --force force (re)loading of a profile / overwrite exiting files +--list list configurations --skip-options