Skip to main content

Turn your keyboard into hot lasagna.

Project description

Banner

lushlayers

lushlayers is a configuration generator for Karabiner-Elements.

It generates JSON files for ~/.config/karabiner/assets/complex_modifications/.

Why?

Karabiner-Elements is configured through JSON files that are really verbose, making them hard to read and edit. To simplify writing configurations, tools exist that generate the JSON from a more user-friendly format. lushlayers is such a tool. It was inspired by Goku and KMonad, and combines some of their ideas.

I really like KMonad's configuration syntax. Unfortunately I can't get KMonad installed on macOS Ventura. To get over the heartbreak I rolled my own tool with a similar configuration syntax. I haven't documented the config yet, but you'll probably get the gist from KMonad's tutorial and my examples.

Disclaimer

This tool doesn't have nearly as many features as KMonad or Goku. I've only implemented what I needed for my own config so far. Ideas and feature requests are welcome.

Installation

$ pip install lushlayers

Usage

$ lushlayers examples/macbook-iso.py
Wrote .../examples/macbook-iso.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lushlayers-0.4.0.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

lushlayers-0.4.0-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page