[scripts] added csgores, desktopres, mouserotation and made sessions uppercase in tms

This commit is contained in:
Afonso Franco 2024-06-01 19:57:07 +01:00
parent a5f8a7b1ab
commit 98d76b0abb
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
4 changed files with 11 additions and 0 deletions

6
.local/bin/mouserotation.sh Executable file
View file

@ -0,0 +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
sleep 1
done