Last active
July 8, 2018 12:30
-
-
Save adrianparvino/5e88d559ed783a9e8c6a8a671774f8f8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
eval $(xdotool getmouselocation --shell) | |
while :; do | |
XOLD=$X | |
YOLD=$Y | |
eval $(xdotool getmouselocation --shell) | |
[ $(( XOLD - X )) -gt 10] && echo "Down swipe" | |
sleep 0.1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment