Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: toggle rendering in ComboSpec #104

Closed
rschenk opened this issue Jun 27, 2024 · 1 comment
Closed

Feature request: toggle rendering in ComboSpec #104

rschenk opened this issue Jun 27, 2024 · 1 comment

Comments

@rschenk
Copy link

rschenk commented Jun 27, 2024

I have a combo that activates a layer. Since the depressed keys correctly appear styled red in the layer diagram, having the combo rendered all over the place adds a lot of clutter and is redundant, so I like to remove it.

I could manually remove the combo from the yaml output of keymap parse but I don't like to edit this file at all, I prefer my actual .keymap file to be the single source of truth so that every time I edit the keymap I can automatically generate the SVG.

What I've been doing is this, which is a hack but works:

# config.yaml
  zmk_combos:
    the_combo_i_want_to_skip:
      key: ""
      height: 0.01
      width: 0.01
      dendron: false

What would be nicer is:

# config.yaml
  zmk_combos:
    the_combo_i_want_to_skip:
      ignore: true 
Screenshot with default settings

regret-default

Screenshot with the combo hidden

regret-no-combo

@caksoylar
Copy link
Owner

Makes sense, I'll add a hidden property to the combo spec that you can set in your config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants