From 1d896af332a3d98083b733712eeaaa6198ce70d4 Mon Sep 17 00:00:00 2001 From: Magks Date: Sat, 24 Dec 2022 14:15:30 -0800 Subject: [PATCH] fixing horizontal-reverse profile which was doing the same thing as vertical-reverse --- autorandr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: