Skip to content

Instantly share code, notes, and snippets.

View kkung's full-sized avatar

Minyoung Jeong kkung

View GitHub Profile
@kkung
kkung / mac_hangul_input_shortcut_to_shiftspace.sh
Created July 23, 2023 22:38 — forked from msuksong/mac_hangul_input_shortcut_to_shiftspace.sh
This script change Hangul input shortcut to shift-space.
#!/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