Skip to content

fastily/im-present

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

im-present

Python 3.11+ License: GPL v3

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.

Installation

pip install im-present

πŸ‘‰ Installs a CLI alias called present which can be used to invoke the program directly

Run

# 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

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.

About

πŸ™‹β€β™‚οΈ Periodically shakes your mouse pointer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages