X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=9531f6d6705759c4b0f75b83ef9776e98e4f22ad;hb=582290b6d53679ece8653f976b4daf1c709b757b;hp=a65322d90c4ea4168a4748ba47befb5423e1de85;hpb=435f3158e6166a39a01bc8fc859920b7292234a7;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index a65322d..9531f6d 100755 --- a/autorandr.py +++ b/autorandr.py @@ -898,6 +898,9 @@ def main(argv): "PROFILE_FOLDER": scripts_path, } exec_scripts(scripts_path, "preswitch", script_metadata) + if "--debug" in options: + print("Going to run:") + apply_configuration(load_config, config, True) apply_configuration(load_config, config, False) exec_scripts(scripts_path, "postswitch", script_metadata) except Exception as e: