atwork

Crates.ioatwork
lib.rsatwork
version0.1.0
created_at2025-05-04 09:11:03.694404+00
updated_at2025-05-04 09:11:03.694404+00
descriptionA Rust program that prevents idle states by simulating mouse movement every 3 seconds
homepage
repositoryhttps://github.com/jul-good/atwork
max_upload_size
id1659482
size17,630
(jul-good)

documentation

README

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 handling
  • enigo for mouse control
  • spinners-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.

Commit count: 1

cargo fmt