Skip to content

Commit

Permalink
Merge pull request #12 from finrod09/keymap-images
Browse files Browse the repository at this point in the history
keymap images
  • Loading branch information
bstiq authored Apr 1, 2024
2 parents 8a2fdd7 + 85e7b35 commit 19534cc
Show file tree
Hide file tree
Showing 75 changed files with 13,790 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,7 @@ Keycaps
Pseudoku
Asymplex
daughterboard

cnano
cmini
tbkmini
22 changes: 22 additions & 0 deletions assets/pics/layouts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Building keymap images

## Keymap-drawer
Keymap drawer with pretty Charybdis support lives here for the moment: https://github.com/finrod09/keymap-drawer/tree/bkb
- check out branch
- `poetry install` to install prerequisites
- `poetry shell` to get a shell with `keymap` in the path

## Drawing
- `keymap draw cnano.yaml > cnano.svg` to generate SVG
- `convert -size 800x800 -background '#303030' cnano.svg cnano.png` to generate PNG

All in one and check:
```
keymap draw cnano.yaml > cnano.svg && convert -size 800x800 -background '#303030' cnano.svg cnano.png && feh cnano.png
keymap draw cmini.yaml > cmini.svg && convert -size 800x800 -background '#303030' cmini.svg cmini.png && feh cmini.png
keymap draw charybdis.yaml > charybdis.svg && convert -size 800x800 -background '#303030' charybdis.svg charybdis.png && feh charybdis.png
keymap draw scylla.yaml > scylla.svg && convert -size 800x800 -background '#303030' scylla.svg scylla.png && feh scylla.png
keymap draw tbkmini.yaml > tbkmini.svg && convert -size 800x800 -background '#303030' tbkmini.svg tbkmini.png && feh tbkmini.png
keymap draw skeletyl.yaml > skeletyl.svg && convert -size 800x800 -background '#303030' skeletyl.svg skeletyl.png && feh skeletyl.png
```
Binary file added assets/pics/layouts/charybdis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 19534cc

Please sign in to comment.