Generate images

This commit is contained in:
lif
2025-10-25 08:21:03 +01:00
parent d5e338a255
commit 7f826dc956
4 changed files with 1651 additions and 1 deletions

0
.gitignore vendored Normal file
View File

View File

@@ -8,6 +8,10 @@ $(KEYMAP_LOCAL): $(KEYMAP_ORIGIN)
@echo "Copying downloaded keymap to local repo..." @echo "Copying downloaded keymap to local repo..."
cp $(KEYMAP_ORIGIN) $(KEYMAP_LOCAL) cp $(KEYMAP_ORIGIN) $(KEYMAP_LOCAL)
make flash make flash
make generate-svg
generate-svg:
keymap parse -q $(KEYMAP_LOCAL) | keymap draw - > keymaps/$(KEYMAP_NAME).svg
flash: flash:
@echo "Flashing keymap from $(KEYMAP_LOCAL)..." @echo "Flashing keymap from $(KEYMAP_LOCAL)..."

View File

@@ -1,7 +1,14 @@
# QMK Layout # QMK Layout
# Workflow ## Requirements
1. [QMK](https://archlinux.org/packages/extra/any/qmk/)
2. [keymap-drawer](https://github.com/caksoylar/keymap-drawer)
## Workflow
Designed for use with [the configurator](https://config.qmk.fm/). Upload a file from ./keymaps and when it is saved to ~/Downloads, it will wait for the board to enter bootloader mode to flash. Designed for use with [the configurator](https://config.qmk.fm/). Upload a file from ./keymaps and when it is saved to ~/Downloads, it will wait for the board to enter bootloader mode to flash.
```shell ```shell
KEYMAP_NAME=lif-preonic make watch KEYMAP_NAME=lif-preonic make watch
``` ```
## Layout
![plank](/keymaps/lif-preonic.svg)

1639
keymaps/lif-preonic.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 69 KiB