From: Magks Date: Sat, 24 Dec 2022 22:15:30 +0000 (-0800) Subject: fixing horizontal-reverse profile which was doing the same thing as vertical-reverse X-Git-Tag: 1.13~3 X-Git-Url: https://git.donarmstrong.com/deb_pkgs/autorandr.git?a=commitdiff_plain;h=1d896af332a3d98083b733712eeaaa6198ce70d4;p=deb_pkgs%2Fautorandr.git fixing horizontal-reverse profile which was doing the same thing as vertical-reverse --- diff --git a/autorandr.py b/autorandr.py index a23d1a6..2919bb0 100755 --- a/autorandr.py +++ b/autorandr.py @@ -1054,7 +1054,7 @@ def generate_virtual_profile(configuration, modes, profile_name): configuration[output].options["off"] = None elif profile_name in ("horizontal", "vertical", "horizontal-reverse", "vertical-reverse"): shift = 0 - if profile_name == "horizontal": + if profile_name.startswith("horizontal"): shift_index = "width" pos_specifier = "%sx0" else: