Skip to content

Commit

Permalink
Expand layout image instructions and add helper script
Browse files Browse the repository at this point in the history
  • Loading branch information
burkfers committed Mar 16, 2024
1 parent a68b209 commit 4b0ce16
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions assets/pics/layouts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 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
Expand All @@ -12,4 +13,10 @@ Keymap drawer with pretty Charybdis support lives here for the moment: https://g
All in one and check:
```
keymap draw cnano.yaml > cnano.svg && convert -size 800x800 -background '#303030' cnano.svg cnano.png && feh cnano.png

Check warning on line 15 in assets/pics/layouts/README.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (cnano)
keymap draw cmini.yaml > cmini.svg && convert -size 800x800 -background '#303030' cmini.svg cmini.png && feh cmini.png

Check warning on line 16 in assets/pics/layouts/README.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (cmini)

Check warning on line 16 in assets/pics/layouts/README.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (cmini)

Check warning on line 16 in assets/pics/layouts/README.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (cmini)

Check warning on line 16 in assets/pics/layouts/README.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (cmini)

Check warning on line 16 in assets/pics/layouts/README.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (cmini)
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
```
10 changes: 10 additions & 0 deletions assets/pics/layouts/render_all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

#keymap draw cnano.yaml > cnano.svg && convert -size 800x800 -background '#303030' cnano.svg cnano.png && feh cnano.png

for i in cnano cmini charybdis skeletyl tbkmini scylla; do
echo $i
keymap draw $i.yaml > $i.svg
convert -size 800x800 -background '#303030' $i.svg $i.png
done
echo done!

0 comments on commit 4b0ce16

Please sign in to comment.