From 05063b67f5ff89c4b027c8d4319269994a8a7a04 Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 5 Jun 2025 12:35:22 +0200 Subject: [PATCH] fixed input rotatur prototype --- desktopenvs/hyprland/scripts/screenrotationwcw.sh.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktopenvs/hyprland/scripts/screenrotationwcw.sh.proto b/desktopenvs/hyprland/scripts/screenrotationwcw.sh.proto index ac3f6a6..54ab0df 100755 --- a/desktopenvs/hyprland/scripts/screenrotationwcw.sh.proto +++ b/desktopenvs/hyprland/scripts/screenrotationwcw.sh.proto @@ -4,8 +4,8 @@ currot=$(hyprctl monitors | grep -B1 "focused: yes" | head -n1 | awk '{print $2} touchdev=$(hyprctl devices | grep -A1 "Touch Device" | tail -n1 | xargs) newrot="" -if [ $currot == "3" ]; then - newrot="0" +if [ $currot == "0" ]; then + newrot="3" else newrot=$(($currot - 1)) fi