DSL to easily modify Karabiner configuration
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE Rename Feb 11, 2018
README.md update readme Aug 22, 2018
call.rb update Aug 24, 2018
config.rb update Aug 24, 2018
helper.rb update Aug 18, 2018
karabiner.rb update Aug 23, 2018
modd.conf update Aug 22, 2018

README.md

Karabiner config generator

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 config contains my own private keyboard configuration. To generate it and add it to Karabiner Elements, run this command: ruby call.rb | pbcopy Or you can download modd and run modd to automatically generate the rules on any file changes including config.rb.

This will put Karabiner JSON of all the rules in your clipboard. You can then paste it inside Karabiner config file found in ~/.config/karabiner/karabiner.json in-between rules [] block.

In future this will be automated even further so you will never have to be dealing with raw JSON of karabiner.json and can effortlessly change your keyboard config on the fly with a nice DSL.

Support

There is a Telegram group you can join to ask questions and build the most awesome DSL for describing keyboard configuration.

Related

Contributing

Suggestions and pull requests are highly encouraged!

License

MIT © Nikita Voloboev