kb-stopwatch

Keyboard controlled stopwatch with no window focus required


Keywords
stopwatch
License
MIT
Install
pip install kb-stopwatch==0.0.3

Documentation

PyPI PyPI - Python Version

kb-stopwatch

This is a keyboard controlled stopwatch that runs in your terminal and works without window focus. Downside to the window focus thing—you need to run this as root. But compromises, right?

Anyway, this is good for ad-hoc speedrunning. Enjoy!

Installation

Run directly from source with

sudo ./run_kbstopwatch.py

or install with pip with

pip3 install kb-stopwatch

and run with

sudo kb-stopwatch

Usage

Press the control key, which you can set with

kb-stopwatch --control-key 'keyname'

(defaults to 'space'), to start the stopwatch. Hit the control key again to stop the timer. Repeat.