X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=57943f7c6c80452eea1d6916b4fe14192a5aee0a;hb=42c50e502ed30c10c1a2bd3cefe003861963cf61;hp=275b0c652d7a0ea22e570d57129b165c71c11336;hpb=4849bd3c35b471b3bfb772a7178060f4f8f8dd61;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 275b0c6..57943f7 100755 --- a/autorandr.py +++ b/autorandr.py @@ -1243,7 +1243,7 @@ def main(argv): if "-d" in options: options["--default"] = options["-d"] - if not load_profile and "--default" in options and "--change" in options: + if not load_profile and "--default" in options and ("-c" in options or "--change" in options): load_profile = options["--default"] if load_profile: