| Crates.io | atwork |
| lib.rs | atwork |
| version | 0.1.0 |
| created_at | 2025-05-04 09:11:03.694404+00 |
| updated_at | 2025-05-04 09:11:03.694404+00 |
| description | A Rust program that prevents idle states by simulating mouse movement every 3 seconds |
| homepage | |
| repository | https://github.com/jul-good/atwork |
| max_upload_size | |
| id | 1659482 |
| size | 17,630 |
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.
Install the program using Cargo:
cargo install atwork
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.
anyhow for error handlingenigo for mouse controlspinners-rs for the console spinnerLicensed under either of: MIT License (LICENSE-MIT)
Contributions are welcome! Please open an issue or submit a pull request on GitHub.