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 details)

Uploaded Source

File details

Details for the file until_nonidle-0.4.tar.gz.

File metadata

  • Download URL: until_nonidle-0.4.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for until_nonidle-0.4.tar.gz
Algorithm Hash digest
SHA256 d230873c9de88a31aa479722fee56acfe9a43fd431e7bbd0c4bfa438b1f585d5
MD5 2caf665315962a12d49f8ff14f31a169
BLAKE2b-256 3dc624911377c176305a5b567bd6e9574120a1ebf2e2877a53c017dcfa8f373d

See more details on using hashes here.

Supported by

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