mirror of
https://codeberg.org/privacy1st/rotate-screen
synced 2024-11-22 21:39:33 +01:00
add print()
This commit is contained in:
parent
dcba1f6609
commit
a983e7f76f
@ -44,8 +44,10 @@ def rotate_clockwise():
|
||||
|
||||
|
||||
def rotate(screen: Screen, orientation):
|
||||
print(f"Rotating {screen.name} ...")
|
||||
Xrandr.rotate(screen.name, orientation)
|
||||
for device in screen.devices:
|
||||
print(f" Mapping {device.name} to {screen.name}")
|
||||
try:
|
||||
Xinput.map_to_output(device.name, screen.name)
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user