So I have an auto clicker script that is this simple command: Tribute
xdotool click --delay 5 --repeat 900000 1
I have to switch to the terminal and
Ctrl-C interrupt the script to stop it. Then just run it again to restart.
So I started to use the
read command to check for key input to avoid this switching back and forth. However that only checks for input at the terminal. I am clicking somewhere else, and want to be able to start and stop from there.
Is there a version of
read that can check for keystrokes globally?