- GNU/Linux
- PulseAudio
- pynput (
pip install pynput
)
Python script to have easy push2talk functionality. The script daemonizes itself and listens for specific keypresses:
- Activate push2talk:
<ctrl>+p
- Deactivate push2talk:
<alt>+p
- Push2talk key:
<pause>
The shortcuts are hardcoded (sorry), but the value can easily be changed in
push2talk/push2talk.py
.
Launch:
python3 -m push2talk.push2talk start
Stop:
python3 -m push2talk.push2talk stop
Status:
python3 -m push2talk.push2talk status
Next improvements:
- notification when start/stop/enabled/disabled
- config file with shortcuts
- installable package (+ launch when boot)