fixed input rotatur prototype

main
The_miro 2025-06-05 12:35:22 +02:00
parent 6d7fda0857
commit 05063b67f5
1 changed files with 2 additions and 2 deletions

View File

@ -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) touchdev=$(hyprctl devices | grep -A1 "Touch Device" | tail -n1 | xargs)
newrot="" newrot=""
if [ $currot == "3" ]; then if [ $currot == "0" ]; then
newrot="0" newrot="3"
else else
newrot=$(($currot - 1)) newrot=$(($currot - 1))
fi fi