mac/Library/LaunchAgents/me.00dani.hidutil-map.plist

23 lines
729 B
Text

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>me.00dani.hidutil-map</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/hidutil</string>
<string>property</string>
<string>--set</string>
<!-- remap caps lock to right ctrl, so that skhd picks it up -->
<string>{"UserKeyMapping":[
{
"HIDKeyboardModifierMappingSrc": 0x700000039,
"HIDKeyboardModifierMappingDst": 0x7000000E4
}
]}</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>