Prevent your computer from entering inactivity modes
Project description
qaffeine
Little tool that prevents your computer from entering inactivity modes. Can run in a terminal or in the notification area. Written in Python 3 and Qt 5.
Compatible with Linux, OS/X and Windows.
Requirements
- Python 3
- PySide2
- pyautogui
Usage
Installation
Using PIP
#pip install qaffeine
Manually
Download this source and run qaffeine.py with Python 3.
Command line
Syntax:
$ python qaffeine.py -h
usage: Prevent computer inactivity by simulating key presses
[-h] [-n] [-d DELAY] [-k KEY] [-v]
optional arguments:
-h, --help show this help message and exit
-n, --nogui Don't start a GUI, only a operate in text mode
-d DELAY, --delay DELAY
Delay between key presses in seconds [default: 5] -
only valid with --nogui
-k KEY, --key KEY Key to press [default: altright]; see keys.txt for a
list of valid values - only valid with --nogui
-v, --version Show version number and exit
GUI
Running 'python qaffeine.py' without any argument starts the graphical interface. Qaffeine then runs in the notification area.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qaffeine-0.1.post1.tar.gz
(26.5 kB
view hashes)
Built Distribution
Close
Hashes for qaffeine-0.1.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00f77f3b2306e2dde5f87756ab3a28ed3e643a9344d3156dd6deccca1b26044c |
|
MD5 | 4c568c3b16b3bc2335a6ec0aca77ed81 |
|
BLAKE2b-256 | a0168ba3b12ea206f4fa7ac734c002829e79b9e981bf078765a64588d41c2e54 |