1 unstable release
new 0.1.0 | May 4, 2025 |
---|
#16 in #mouse
6KB
atwork
A simple Rust program that prevents your computer from going idle by simulating mouse movement every 3 seconds. It checks the mouse position and, if unchanged, moves the mouse to the origin and back to its original position.
Installation
Install the program using Cargo:
cargo install atwork
Usage
Run the program:
atwork
A spinning dots animation will indicate the program is running. The mouse will be jiggled every 3 seconds if it hasn't moved. Press Ctrl+C to stop the program.
Dependencies
anyhow
for error handlingenigo
for mouse controlspinners-rs
for the console spinner
License
Licensed under either of: MIT License (LICENSE-MIT)
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
Dependencies
~2–26MB
~365K SLoC