From 227ddd74f318e16611f8651d1aec0a6b952a8241 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 22 May 2022 14:39:04 +0200 Subject: [PATCH] fix xinput --- rotate-screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rotate-screen.py b/rotate-screen.py index 82a135d..8dea8bc 100644 --- a/rotate-screen.py +++ b/rotate-screen.py @@ -58,7 +58,7 @@ def get_cfg_path() -> Path: def rotate(screen: Screen, orientation): execute(['xrandr', '--output', screen.name, '--rotate', orientation]) for device in screen.devices: - execute(['xrandr', '--map-to-output', device, screen.name]) + execute(['xinput', '--map-to-output', device, screen.name]) def get_current_orientation(screen: str):