X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=5083c03c20486cb08e9ab7e459bb7a62403e5f96;hb=198d8eb06e2dbd015e4d14932ff55a746861f5bb;hp=8fc597da6cb8b95a97675efa86049b45aa34ace6;hpb=f6a5323f865e76c961e4822d4eacc573a5244317;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 8fc597d..5083c03 100755 --- a/autorandr.py +++ b/autorandr.py @@ -422,7 +422,7 @@ def apply_configuration(configuration, dry_run=False): # Disable all unused outputs argv = base_argv[:] for output in outputs: - if not configuration[output].edid: + if not configuration[output].edid or "off" in configuration[output].options: argv += configuration[output].option_vector if argv != base_argv: if subprocess.call(argv) != 0: