| Crates.io | mtm |
| lib.rs | mtm |
| version | 0.1.0 |
| created_at | 2025-10-03 18:15:43.842957+00 |
| updated_at | 2025-10-03 18:15:43.842957+00 |
| description | Keep your screen awake by nudging the mouse at random intervals |
| homepage | |
| repository | https://github.com/icub3d/mtm |
| max_upload_size | |
| id | 1867052 |
| size | 29,428 |
Keep your screen awake by occasionally nudging the mouse pointer. The program waits a random amount of time between a lower and upper bound, then wiggles the cursor by a few pixels so the system stays active.
cargo run --release -- --lower 45s --upper 2m15s --distance 20 --verbose
--lower / -l: Shortest interval between wiggles. Accepts values such as 30s, 4m2s, or 1h5m. Default: 45s.--upper / -u: Longest interval between wiggles. Same format as --lower. Must be greater than or equal to --lower. Default: 90s.--distance / -d: Maximum pixel distance for each wiggle (the pointer moves there and back). Default: 15.--verbose / -v: Print wait intervals and mouse-movement details each cycle.Press Ctrl+C to stop the program.
h), minutes (m), seconds (s), and milliseconds (ms). You can chain multiple units together, e.g. 1m30s.