-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from finrod09/keymap-images
keymap images
- Loading branch information
Showing
75 changed files
with
13,790 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,3 +85,7 @@ Keycaps | |
Pseudoku | ||
Asymplex | ||
daughterboard | ||
|
||
cnano | ||
cmini | ||
tbkmini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.