Also a lot of stuff

This commit is contained in:
Chris Cochrun 2022-03-24 13:55:34 -05:00
parent a8ee3f5c13
commit 90422305a5
13 changed files with 100 additions and 44 deletions

14
scripts/focus_window.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
eval $(xdotool getmouselocation --shell)
if [ "$1" -eq "1" ]; then
xdotool mousemove 900 $Y
elif [ "$1" -eq "2" ]; then
xdotool mousemove 2560 $Y
elif [ "$1" -eq "3" ]; then
if [ $Y -gt 700 ]; then
Y=700
fi
xdotool mousemove 4000 $Y
fi