Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keymap images #12

Merged
merged 17 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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