DSL to easily modify Karabiner configuration
source link: https://www.tuicool.com/articles/hit/V773yiB
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
Or you can download modd and run modd
to automatically generate the rules on any of the ruby file changes.
To have it work you first have to create a profile in Karabiner Elements with name generator-test
.
Support
There is a Telegram group you can join to ask questions and build the most awesome DSL for describing keyboard configuration.
Related
- Karabiner JSON Spec
- GokuRakuJoudo - Another tool to manage Karabiner configuration.
Contributing
Suggestions and pull requests are highly encouraged!
License
MIT © Nikita Voloboev
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK