Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# run at login with `sudo defaults write com.apple.loginwindow LoginHook path/to/caps_to_esc.sh`
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}' > /dev/null 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.