Skip to content

Commit e2ee54c

Browse files
minusfivegithub-actions[bot]
authored andcommitted
chore(config): move keymap drawer config
1 parent a14bc86 commit e2ee54c

File tree

10 files changed

+11
-1290
lines changed

10 files changed

+11
-1290
lines changed

.github/workflows/deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v4
2727
- name: Setup Pages
28-
uses: actions/configure-pages@v3
28+
uses: actions/configure-pages@v5
2929
- name: Upload artifact
30-
uses: actions/upload-pages-artifact@v2
30+
uses: actions/upload-pages-artifact@v3
3131
with:
3232
path: "img/"
3333
- name: Deploy to GitHub Pages
3434
id: deployment
35-
uses: actions/deploy-pages@v2
35+
uses: actions/deploy-pages@v4

.github/workflows/draw.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
- "config/*.keymap"
99
- "config/*.dtsi"
1010
- "knucklehead/*.dtsi"
11-
- "keymap_drawer.config.yaml"
11+
- "keymap-drawer/config.yaml"
12+
- ".github/workflows/draw.yml"
1213

1314
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1415
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
@@ -24,8 +25,8 @@ jobs:
2425
with:
2526
install_branch: "main" # branch to install keymap-drawer from
2627
keymap_patterns: "config/*.keymap" # path to the keymaps to parse
27-
config_path: "keymap_drawer.config.yaml" # config file, ignored if not exists
28-
output_folder: "img" # path to save produced SVGs
28+
config_path: "keymap-drawer/config.yaml" # config file, ignored if it doesn't exist
29+
output_folder: "keymap-drawer" # path to save produced SVGs
2930
# commit_message: "Draw: ${{ github.event.head_commit.message }}"
3031
amend_commit: true # whether to amend the commit or create a new one
3132

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Knucklehead is a mnemonic, macOS-optimized, 42[^1] key ergo columnar keyboard la
1919
2020
---
2121

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

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

@@ -253,4 +253,5 @@ To locate your firmware files...
253253
Your keyboard is now ready to use.
254254

255255
[^1]: Currently 42 keys because that's what I use, but honestly sometimes I feels like I have a few keys I don't know what to do with; though I often go back to re-adding them when I try removing them, so :shrug:. May make it work for other boards in the future, but may not be a priority for a while. No promises.
256+
256257
[^2]: Well, "designed" is perhaps too strong a word. I've haphazardly and painfully iterated over dozens of permutations, gradually removing annoyances / disruptions to my flow.

img/corne.svg

-1,281
This file was deleted.
File renamed without changes.

keymap-drawer/corne.svg

Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.

scripts/draw.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

3-
keymap -c ./keymap_drawer.config.yaml parse -z ./config/${1}.keymap >./img/${1}.yaml
4-
keymap -c ./keymap_drawer.config.yaml draw ./img/${1}.yaml >./img/${1}.svg
3+
keymap -c ./keymap-drawer/config.yaml parse -z ./config/${1}.keymap >./keymap-drawer/${1}.yaml
4+
keymap -c ./keymap-drawer/config.yaml draw ./img/${1}.yaml >./keymap-drawer/${1}.svg

0 commit comments

Comments
 (0)