fix xinput

This commit is contained in:
Daniel Langbein 2022-05-22 14:39:04 +02:00
parent d51d598ac1
commit 227ddd74f3

View File

@ -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):