From 32acf8af441417ee7b00495124a1c1cf2e6d054a Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 23 May 2022 12:58:29 +0200 Subject: [PATCH] fix --- rotate-screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rotate-screen.py b/rotate-screen.py index 8eba44a..90bc7ac 100644 --- a/rotate-screen.py +++ b/rotate-screen.py @@ -170,7 +170,7 @@ class Xrandr: class Xinput: @classmethod def map_to_output(cls, device_id: int, screen: str): - execute(['xinput', '--map-to-output', device_id, screen]) + execute(['xinput', '--map-to-output', str(device_id), screen]) @classmethod def get_devices(cls) -> list[Device]: