Created
February 11, 2023 08:14
-
-
Save mh61503891/e36dc2934b6c6aa849ca529e1c766a43 to your computer and use it in GitHub Desktop.
Toggle JIMPrefPunctuationType
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
JIMPrefPunctuationTypeKey=$(defaults read com.apple.inputmethod.Kotoeri JIMPrefPunctuationTypeKey) | |
if [ $JIMPrefPunctuationTypeKey -eq 0 ]; then | |
defaults write com.apple.inputmethod.Kotoeri JIMPrefPunctuationTypeKey 3 | |
elif [ $JIMPrefPunctuationTypeKey -eq 3 ]; then | |
defaults write com.apple.inputmethod.Kotoeri JIMPrefPunctuationTypeKey 0 | |
fi | |
killall -HUP "JapaneseIM-RomajiTyping" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment