From de6e78ab66f19238c0a9698d8a7cb017228244d6 Mon Sep 17 00:00:00 2001 From: afonso Date: Sat, 8 Jun 2024 18:12:01 +0100 Subject: [PATCH] [scripts] changed rotation method on mouserotation.sh --- .local/bin/mouserotation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/mouserotation.sh b/.local/bin/mouserotation.sh index d6663e0..61c23dc 100755 --- a/.local/bin/mouserotation.sh +++ b/.local/bin/mouserotation.sh @@ -1,6 +1,6 @@ #!/bin/sh for id in `xinput --list | awk '/Razer Razer DeathAdder V3 Pro .*pointer/ {print $8}' | sed 's/id=\(.*\)/\1/'`; do notify-send "Applied Mouse Rotation" - xinput set-prop $id "Coordinate Transformation Matrix" 0.9848 0.1736 0 -0.1736 0.9848 0 0 0 1 + xinput set-prop $id "libinput Rotation Angle" 350 sleep 1 done