.osx: add swap caps-lock and escape

This commit is contained in:
Adriel Sand
2022-08-21 20:41:50 +00:00
parent e26aeadf22
commit 68d016d03e

3
.osx vendored
View File

@@ -74,6 +74,9 @@ defaults write NSGlobalDomain KeyRepeat -int 1
# Disable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
# Swap capslock and escape key
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc": 0x700000039, "HIDKeyboardModifierMappingDst": 0x700000029}]}'
###############################################################################
# Screen #
###############################################################################