Skip to content

Commit

Permalink
chore(config): move keymap drawer config
Browse files Browse the repository at this point in the history
  • Loading branch information
minusfive committed Oct 8, 2024
1 parent a14bc86 commit 8c10ed8
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 2,989 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: "img/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
7 changes: 4 additions & 3 deletions .github/workflows/draw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
- "config/*.keymap"
- "config/*.dtsi"
- "knucklehead/*.dtsi"
- "keymap_drawer.config.yaml"
- "keymap-drawer/config.yaml"
- ".github/workflows/draw.yml"

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
Expand All @@ -24,8 +25,8 @@ jobs:
with:
install_branch: "main" # branch to install keymap-drawer from
keymap_patterns: "config/*.keymap" # path to the keymaps to parse
config_path: "keymap_drawer.config.yaml" # config file, ignored if not exists
output_folder: "img" # path to save produced SVGs
config_path: "keymap-drawer/config.yaml" # config file, ignored if it doesn't exist
output_folder: "keymap-drawer" # 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

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Knucklehead is a mnemonic, macOS-optimized, 42[^1] key ergo columnar keyboard la
---

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

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

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

[^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.

[^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.
1,281 changes: 0 additions & 1,281 deletions img/corne.svg

This file was deleted.

209 changes: 0 additions & 209 deletions img/corne.yaml

This file was deleted.

1,281 changes: 0 additions & 1,281 deletions img/corneish_zen.svg

This file was deleted.

Loading

0 comments on commit 8c10ed8

Please sign in to comment.