Created
March 23, 2015 14:08
-
-
Save vicolachips44/a26cb2b241a0a2864775 to your computer and use it in GitHub Desktop.
dual screen - non blocking mouse (with <> screen layouts)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
LEFT_TRIGGER=1366; | |
BOTTOM_TRIGGER=768; | |
while :; | |
do sleep 0.10; | |
eval $(xdotool getmouselocation --shell); | |
# | |
if [ $X -eq $LEFT_TRIGGER ] && [ $Y -gt $BOTTOM_TRIGGER ]; then | |
xdotool mousemove 1362 764 | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment