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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lushlayers-0.4.0.tar.gz | 6.7 kB | Without provenance | Details for lushlayers-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lushlayers-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for lushlayers-0.4.0-py3-none-any.whl |
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
|
Security for lushlayers 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.