CLI 切换输入法
-
英文输入法 ABC
-
中文输入法 Apple 拼音输入法
-
下载可执行文件
wget -P /usr/local/bin https://github.com/zeekrs/fcitx-remote-osx/releases/download/v0.0.1/fcitx-remote chmod +x /usr/local/bin/fcitx-remote
-
编译安装(可自定义输入法)
git clone https://github.com/zeekrs/fcitx-remote-osx.git
xcodebuild clean install -project fcitx-remote.xcodeproj -target fcitx-remote -configuration Release DSTROOT="/"
fcitx-remote [OPTION]
-c inactivate input method
-o activate input method
-t switch between active/inactive
-n display current imname
-s imname
switch to the input method uniquely identified by imname
[no option]
display fcitx state, 0 for close, 1 for inactive, 2 for active
-h display help and exit