Forked from msuksong/mac_hangul_input_shortcut_to_shiftspace.sh
Created
July 23, 2023 22:38
-
-
Save kkung/5bd68952a19a1879b4e0309906980267 to your computer and use it in GitHub Desktop.
This script change Hangul input shortcut to shift-space.
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 | |
# 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