Created
January 30, 2024 10:24
-
-
Save Morid1n/1838061a34495fbf1d730be452131fd5 to your computer and use it in GitHub Desktop.
com.moridin.moridin_mac_keyboard_remap_v2.plist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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>com.moridin.moridin_mac_keyboard_remap_v2</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/bin/hidutil</string> | |
| <string>property</string> | |
| <string>--set</string> | |
| <string>{"UserKeyMapping":[ | |
| { | |
| "HIDKeyboardModifierMappingSrc": 0x7000000e7, | |
| "HIDKeyboardModifierMappingDst": 0x7000000e6 | |
| }, | |
| { | |
| "HIDKeyboardModifierMappingSrc": 0x7000000e6, | |
| "HIDKeyboardModifierMappingDst": 0x7000000e7 | |
| }, | |
| { | |
| "HIDKeyboardModifierMappingSrc": 0x700000039, | |
| "HIDKeyboardModifierMappingDst": 0x7000000e0 | |
| } | |
| ]}</string> | |
| </array> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| </dict> | |
| </plist> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rename file and move file into ~/Library/LaunchAgents. / Zmień nazwę pliku i przenieś do ~/Library/LaunchAgents.
0x7000000e7 = Right Command
0x7000000e6 = Right Alt/Option
0x700000039 = Caps Lock
0x7000000e0 = Left Control