Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enricobacis/until_nonidle
Execute something as long as the user is idling.
https://github.com/enricobacis/until_nonidle
Last synced: about 2 months ago
JSON representation
Execute something as long as the user is idling.
- Host: GitHub
- URL: https://github.com/enricobacis/until_nonidle
- Owner: enricobacis
- License: mit
- Created: 2019-01-16T16:48:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T14:38:34.000Z (almost 6 years ago)
- Last Synced: 2024-09-23T17:17:15.322Z (3 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
until_nonidle
=============Execute something as long as the user is idling.
Description
-----------.. image:: https://travis-ci.com/enricobacis/until_nonidle.svg?token=3zn37kZJ8DSzJpXNU199&branch=master
:target: https://travis-ci.com/enricobacis/until_nonidleThe 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
- psutilExample
-------.. code::
./until_nonidle.py sleep 10
The ``sleep 10`` command terminates if the user comes back from idling.