0.4.1 • Published 1 year ago
karabiner-config v0.4.1
karabiner.ts
Write Karabiner-Elements configuration in TypeScript.
Why karabiner.ts
karabiner.ts
is heavily inspired by Goku. Compared to the edn format, it allows for:
- Easier-to-understand TypeScript/JavaScript syntax
- Strong-typed abstractions and key aliases with IDE support
- Structured config files instead of one big file
See more examples and evan-liu/karabiner-config.
Usage
- Download (or clone | fork) the examples/starter repo.
- Run
npm install
. - Update to your own configs.
- Set the profile name. Create a new Karabiner-Elements profile if needed.
- Run
npm run build
.
Alternatively, you can install the karabiner-config
npm package (karabiner-ts
is taken) and call writeToProfile()
in a Node.js script in your preferred way.