fixed input rotatur prototype
parent
6d7fda0857
commit
05063b67f5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue