This file contains 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
#!/bin/sh | |
# Replaces tilda with left shift (literally making left shift button "longer") | |
# Replaces paragraph with tilda (so your tilda is in top left corner under escape now) | |
hidutil property --set '{"UserKeyMapping":[ | |
{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x7000000E1}, | |
{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035} | |
]}' |