From a983e7f76f121da2b9ebc5dd73e81baf00b36979 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 23 May 2022 13:37:07 +0200 Subject: [PATCH] add print() --- rotate-screen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rotate-screen.py b/rotate-screen.py index 6c1ca8f..d551361 100644 --- a/rotate-screen.py +++ b/rotate-screen.py @@ -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: