Skip to content
Discussion options

You must be logged in to vote

The picture is generated using my just draw recipe:

zmk-config/Justfile

Lines 84 to 89 in 3ee00d5

draw:
#!/usr/bin/env bash
set -euo pipefail
keymap -c "{{ draw }}/config.yaml" parse -z "{{ config }}/base.keymap" --virtual-layers Combos >"{{ draw }}/base.yaml"
yq -Yi '.combos.[].l = ["Combos"]' "{{ draw }}/base.yaml"
keymap -c "{{ draw }}/config.yaml" draw "{{ draw }}/base.yaml" -k "ferris/sweep" >"{{ draw }}/base.svg"

Essentially I am adding a virtual layer and then remove the combos from all other layers between the parse and draw steps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mjoink
Comment options

Answer selected by mjoink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants