- using git, clone this repo to your machine by running this command in your terminal:
git clone https://github.com/Snailware/hotkey_manager.git- create a virtual environment to be used by running this command in your terminal:
python -m venv .env- navigate to the
hotkey_managerdirectory and activate the virtual environment by running this command in your terminal:
cd hotkey_manager
source .env/bin/activate- download and install the required modules by running this command in your terminal:
pip install -r requirements.txt-
edit the
hotkeys.jsonfile to contain your desired hotkeys. the file provided currently only has basic media controls, but it should be enough to explain what goes where. -
now run the
main.pyscript (or automate its execution if desired). you may need to modify this scripts permissions to allow execution.
- a list of valid keys can be found here.