summaryrefslogtreecommitdiff
path: root/.config/darwin/rc
blob: e02ee51ccd30779467381f1e64be652d1d74d54b (plain) (blame)
1
2
3
4
5
#!/bin/sh

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x70000002A}]}'

# sudo defaults write com.apple.loginwindow LoginHook <path to this script>