Simple utility which moves your mouse by 1 pixel and then back at a specified interval. Useful for pretending to be at your computer and fooling apps which track your productivity.
pip install im-present
π Installs a CLI alias called present
which can be used to invoke the program directly
# Run indefinitely until quit (ctrl+c)
present
# Wiggle the mouse every 30s and wait 2s before moving it back to the original posotion
present -i 30 -j 2
π im-present
also checks if you're using your computer (i.e. did you manually move the mouse), in which case the mouse will not be moved until the next interval.
usage: present [-h] [-i secs] [-j secs] [-t secs]
periodically shakes the mouse pointer to prove you're here
options:
-h, --help show this help message and exit
-i secs number of seconds to wait in between mouse movements. Defaults to 600.
-j secs number of seconds to wait in between mouse jitters. Defaults to 0.5.
-t secs if set, exit after this many seconds have elapsed from the time this program was first started.