X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=e5ab42fdd0308695e720b6ada0415ccdd8751c0e;hb=b0257a2703e12139c14f524f502c1f27c99ae527;hp=119500bd1cbc73b18c167635ddaeb3523fd9b2dc;hpb=ed4eab647ab041a22ba25bec0a115e5f66a5a543;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 119500b..e5ab42f 100755 --- a/autorandr.py +++ b/autorandr.py @@ -1072,6 +1072,8 @@ def main(argv): options["--load"] = options["-l"] if "--load" in options: load_profile = options["--load"] + elif len(args) == 1: + load_profile = args[0] else: # Find the active profile(s) first, for the block script (See #42) current_profiles = []