Skip to main content

Execute something as long as the user is idling.

Project description

Description

https://travis-ci.com/enricobacis/until_nonidle.svg?token=3zn37kZJ8DSzJpXNU199&branch=master

The tools is especially useful in combination with auto lockscreens. The user can be notified (by a dimming action on the screen or by showing a text message on the display) about the fact that the computer is being locked, and can perform an action such as moving the mouse to dismiss the action.

Requirements

  • xprintidle

  • psutil

Example

./until_nonidle.py sleep 10

The sleep 10 command terminates if the user comes back from idling.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

until_nonidle-0.4.tar.gz (2.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page