mirror of
https://codeberg.org/privacy1st/rotate-screen
synced 2024-11-22 21:39:33 +01:00
fix xinput
This commit is contained in:
parent
d51d598ac1
commit
227ddd74f3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user