4 releases
new 0.1.3 | May 5, 2025 |
---|---|
0.1.2 | May 5, 2025 |
0.1.1 | May 4, 2025 |
0.1.0 | May 4, 2025 |
#131 in Hardware support
65 downloads per month
16KB
333 lines
macos_keyboard_remapper
: remap QWERTY to Dvorak on macOS
this simple macOS daemon will remap keys from the US QWERTY layout to Dvorak layout iff no "control" or "command" keys are pressed. this is done in order to preserve compatibility with apps that define their keybindings relative to QWERTY.
why another keyboard remapper?
save for Karabiner-Elements, i have not found any other tools that have similar functionality. but the latter forces me to learn a complicated JSON-based DSL to perform the same simple task. i could not figure out how to make it respect "caps lock" with Dvorak, or how to still remap to Dvorak while an "alt" is pressed
installation
- install the binary into your
~/.cargo/bin
withcargo install macos_keyboard_remapper
- make sure that
~/.cargo/bin
is in$PATH
- run
macos_keyboard_remapper install
to install the service. you will be asked for permission to control your computer; grant it - wait a few seconds and enjoy
deinstallation
- run
macos_keyboard_remapper uninstall
- remove the granted accessibility permission in system settings
acknowledgements
most of the work was done by o4-mini and OpenAI Codex, huge thanks to the team that made them
Dependencies
~5–7MB
~120K SLoC