diff --git a/.github/workflows/draw.yml b/.github/workflows/draw.yml index d4ca77a..48daaf3 100644 --- a/.github/workflows/draw.yml +++ b/.github/workflows/draw.yml @@ -26,7 +26,7 @@ jobs: install_branch: "main" # branch to install keymap-drawer from keymap_patterns: "config/corneish_zen.keymap" # path to the keymaps to parse config_path: "keymap-drawer/config.yaml" # config file, ignored if it doesn't exist - output_folder: "keymap-drawer" # path to save produced SVGs + output_folder: "img" # path to save produced SVGs # commit_message: "Draw: ${{ github.event.head_commit.message }}" amend_commit: true # whether to amend the commit or create a new one fail_on_error: true diff --git a/README.md b/README.md index 39ab654..4eb2fec 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Knucklehead[^1] is a mnemonic, macOS-optimized, 42 key ergonomic columnar layout ## [![Build ZMK firmware](https://github.com/minusfive/zmk-config/actions/workflows/build.yml/badge.svg)](https://github.com/minusfive/zmk-config/actions/workflows/build.yml) -minusfive's keymap layout graphical representation +minusfive's keymap layout graphical representation ![minusfive's Corne-ish Zen](img/corneish_zen.png) diff --git a/keymap-drawer/corneish_zen.svg b/img/corneish_zen.svg similarity index 100% rename from keymap-drawer/corneish_zen.svg rename to img/corneish_zen.svg diff --git a/keymap-drawer/corneish_zen.yaml b/img/corneish_zen.yaml similarity index 100% rename from keymap-drawer/corneish_zen.yaml rename to img/corneish_zen.yaml diff --git a/scripts/draw.sh b/scripts/draw.sh index 2230ba4..2baa6ae 100755 --- a/scripts/draw.sh +++ b/scripts/draw.sh @@ -5,5 +5,5 @@ if [ $# -ne 1 ]; then exit 1 fi -keymap -c ./keymap-drawer/config.yaml parse -z "./config/${1}.keymap" >"./keymap-drawer/${1}.yaml" -keymap -c ./keymap-drawer/config.yaml draw "./keymap-drawer/${1}.yaml" >"./keymap-drawer/${1}.svg" +keymap -c ./keymap-drawer/config.yaml parse -z "./config/${1}.keymap" >"./img/${1}.yaml" +keymap -c ./keymap-drawer/config.yaml draw "./img/${1}.yaml" >"./img/${1}.svg"