Commit Graph
2 Commits
Author SHA1 Message Date
Claude 62b2a2277e Fix NameError: add ecodes. prefix to all key code references
The template was expanding KEY_LEFTCTRL, KEY_RIGHTCTRL but only
prepending ecodes. to the first one. Now all key codes include
the ecodes. prefix in the case statement values.

https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
2026-03-26 04:06:49 +00:00
Claude 22d4f64bb3 Add one-shot PTT setup script with systemd service and uninstall
setup-ptt.sh handles everything in one run:
- Adds user to input group (no sudo for PTT)
- Installs evdev Python module
- Interactive hotkey selection (5 options)
- Generates PTT Python script with chosen hotkey
- Creates systemd user service (auto-start, restart on failure)
- Checks if OpenWhispr is running, offers to launch
- Creates uninstall script
- Prints useful commands summary

https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
2026-03-26 04:00:19 +00:00