Skip to content

enricobacis/until_nonidle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

until_nonidle

Execute something as long as the user is idling.

Description

image

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.

About

Execute something as long as the user is idling.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages