/karabiner-generator

Small DSL to easily modify Karabiner configuration

Primary LanguageRubyMIT LicenseMIT

Karabiner config generator

Small DSL to easily modify Karabiner configuration

The idea is to make a small language with first class support for variables, sticky key and simultaneous key definitions that generates Karabiner JSON.

The script is a modified version of a ruby script by Tekezo.

The included script contains my own private keyboard configuration. To generate it and add it to Karabiner Elements, run this command: ruby karabiner-generate.rb | pbcopy

This will put Karabiner JSON of all the rules in your clipboard. You can then paste it inside Karabiner in-between rules [] block.

Related

Contributing

Suggestions and pull requests are highly encouraged!

License

MIT © Nikita Voloboev