From 92d9e3fa1a7757bde143a28ebfd610369b5caa02 Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Mon, 24 Jul 2023 13:52:10 -0700 Subject: [PATCH] Update rotate.sh --- rotate.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rotate.sh b/rotate.sh index 4923f56..00c27d9 100644 --- a/rotate.sh +++ b/rotate.sh @@ -1,7 +1,8 @@ #!/bin/bash - -# rotate all screens clockwise in a complete circle -# by Justin Oros +# Description: Rotate screen clockwise in a complete circle +# Usage: rotate.sh +# Author: Justin Oros +# Source: https://github.com/JustinOros screen_types="VGA HDMI DP eDP" screen_rotations="right inverted left normal" @@ -18,7 +19,7 @@ rotate() { do for screen in 0 .. $screens do - xrandr --output $screen_type-$screen --rotate $screen_rotation > /dev/null 2>&1 + xrandr -o $screen_rotation > /dev/null 2>&1 done done sleep $sleep_time