Skip to main content

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

Release files for lushlayers 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lushlayers 0.4.0
File Size Uploaded
lushlayers-0.4.0.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lushlayers 0.4.0
File Interpreter ABI Platform
lushlayers-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / lushlayers-0.4.0.tar.gz

Download URL lushlayers-0.4.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8a1cc2e71def5d6a57e0f0867ea0aa16fbeeafb358138aef3cceb3ff38b2435f
BLAKE2b-256 checksum
How to use checksums
5e9925d7dac8a49093982706bcacc03f6c11adff3bffea8d6cf3334504fa7401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / lushlayers-0.4.0-py3-none-any.whl

Download URL lushlayers-0.4.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a88c9e8a7005f112ddf90b318ec3d046264376faba8abc41787bf3d8db9aca2
BLAKE2b-256 checksum
How to use checksums
55e3701cba9e41f240e77467590f1951a931f5575ce332f5146424f47da251da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page