-
Notifications
You must be signed in to change notification settings - Fork 95
Feature/merge layers with corner glyphs #192
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
base: main
Are you sure you want to change the base?
Feature/merge layers with corner glyphs #192
Conversation
|
Can you split adding the corner legends to a separate PR? That would resolve #151. |
|
Thanks, I like the approach of a separate command to intentionally merge and output another keymap yaml. In general I am not a big fan of combined diagrams because they are hard to read, but it might be useful to have the functionality for some cases. I'll review if you can split as above. |
|
Awesome, will do. |
7a6b736 to
c34fe50
Compare
|
Also, I like the combined diagrams because they take less real estate when printing for easy reference. |
|
Can you rebase this when you get a chance? |
|
yeah |
Add a new subcommand that combines multiple layers into a single layer with multi-position legends. Each key can display: - Center (t/s/h): primary layer tap, shifted, and hold values - Corners (tl/tr/bl/br): tap values from up to 4 additional layers This enables creating compact reference diagrams showing multiple layers at once, useful for cheat sheets and documentation. New module: keymap_drawer/stack/ - stacker.py: Core stacking logic - config.py: StackConfig and CornerLayers models CLI usage: keymap stack-layers --center Base --tl Fun --tr Sys keymap.yaml Configuration options (stack_config): - corner_hide: Values to hide in corners - held_key_colors: Styling for layer activator keys - held_hide: Values to hide on held keys
c34fe50 to
cd3057b
Compare
|
Rebased to main and dropped the 1 commit related to #193. Ran the following and still functions. |
#191 Pull request.