From dbd2f7b0d16a1ee1c41c3be8eeb58d06a806a42b Mon Sep 17 00:00:00 2001 From: Phillip Berndt Date: Thu, 1 Dec 2022 08:31:29 +0100 Subject: [PATCH] Consider skip-options in post-apply-check Otherwise autorandr complains that the profile was not applied correctly. --- autorandr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autorandr.py b/autorandr.py index 9f30244..5541346 100755 --- a/autorandr.py +++ b/autorandr.py @@ -1625,6 +1625,9 @@ def main(argv): new_config, _ = parse_xrandr_output( ignore_lid=ignore_lid, ) + if "--skip-options" in options: + for output in new_config.values(): + output.set_ignored_options(skip_options) if not is_equal_configuration(new_config, load_config): print("The configuration change did not go as expected:") print_profile_differences(new_config, load_config) -- 2.39.2