Created
April 27, 2019 07:59
-
-
Save tors/83a3139ad61e6f3cc1c780d2399b83d4 to your computer and use it in GitHub Desktop.
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/bash | |
# Years of muscle memory using an ANSI keyboard layout makes | |
# typing on an ISO keyboard layout quite challenging. This script... | |
# | |
# - Replaces section key with the tilde key | |
# - Replaces tilde with left shift key | |
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x7000000E1},{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment