Last active
July 23, 2023 22:38
-
-
Save msuksong/ccf75af037118db0a0fa3e8ec136dccd to your computer and use it in GitHub Desktop.
This script change Hangul input shortcut to shift-space.
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
#!/bin/sh | |
# Select next source in Input menu | |
KEY=AppleSymbolicHotKeys.61.value.parameters.2 | |
# Shift-space | |
VALUE=131072 | |
plutil -replace "$KEY" -integer "$VALUE" -o /tmp/hangul_shiftspace.plist ~/Library/Preferences/com.apple.symbolichotkeys.plist | |
cp ~/Library/Preferences/com.apple.symbolichotkeys.plist{,.backup} | |
cp /tmp/hangul_shiftspace.plist ~/Library/Preferences/com.apple.symbolichotkeys.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment