This small utility for Apple OS X allows to easily switch input sources from a command line. It's main purpose is to be used as a service in vim-xkbswitch plugin.
issw [-h] [-l] [<input-source-id>]
-h - show help message
-l - list all selectable input sources
-V - print version number
If no arguments are specified, it prints the current input source.
If <input-source-id> is specified, it selects the specified input source.
git clone https://github.com/vovkasm/input-source-switcher.git
cd input-source-switcher
mkdir build && cd build
cmake ..
make
make install
cd input-source-switcher
mkdir xcode && cd xcode
cmake -G Xcode ..
open InputSourceSwitcher.xcodeproj
Vladimir Timofeev
This projected is licensed under the terms of the MIT license.