Skip to content

Commit

Permalink
chore: move drawing location again
Browse files Browse the repository at this point in the history
  • Loading branch information
minusfive committed Oct 11, 2024
1 parent f13f7f3 commit 57abb67
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/draw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<img src="./keymap-drawer/corneish_zen.svg" alt="minusfive's keymap layout graphical representation" width="100%" />
<img src="./img/corneish_zen.svg" alt="minusfive's keymap layout graphical representation" width="100%" />

![minusfive's Corne-ish Zen](img/corneish_zen.png)

Expand Down
File renamed without changes
File renamed without changes.
4 changes: 2 additions & 2 deletions scripts/draw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 57abb67

Please sign in to comment.