1.0.4 • Published 7 years ago

karabiner-profile-switch v1.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

karabiner-profile-switch

A simple CLI tool to switch between Karabiner-Elements profiles in the JSON configuration file

This is a temporary solution for Karabiner Elements for macOS Sierra.

Currently configuration changes are made in a JSON file, and to make things easier this tool will set the selected profile in the JSON file. This eliminates the need to edit the JSON file manually when disconnecting or reconneting input devices that require different configuration.

TODO: Auto-restart Karabiner-Elemenets.

Installation

npm i -g karabiner-profile-switch

Usage

# kps

Example with output:

$ kps
Karabiner-Elements profiles:
    1) Internal Keys
 -> 2) Apple USB Keys
Please select profile number: 1
Setting active profile: Internal Keys
Saving data...
Done.