chore(draw): bare bone config

main
sudo pacman -Syu 2023-08-10 01:06:24 +07:00
parent 9c5184863f
commit 0e5dfaed44
4 changed files with 10 additions and 5 deletions

View File

@ -28,10 +28,12 @@ draw:
go run ./cmd/qmkasciigen/*.go -qmk-keyboard dztech/dz60rgb_wkl/v2_1 -qmk-keymap-file dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json -out dztech_dz60rgb_wkl/asciiart/haunt98.txt
# https://github.com/caksoylar/keymap-drawer
pipx install keymap-drawer
KEYMAP_raw_binding_map='{"TD(TD_SAFE_BOOT)": "BOOT"}' \
keymap parse -q dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json > \
keymap -c dztech_dz60rgb_wkl/caksoylar_keymap_drawer/config.yaml \
parse -q dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json > \
dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.yaml
keymap draw dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.yaml > dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.svg
keymap -c dztech_dz60rgb_wkl/caksoylar_keymap_drawer/config.yaml \
draw dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.yaml > \
dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.svg
qmk_upstream:
curl https://raw.githubusercontent.com/qmk/qmk_firmware/master/.clang-format --output .clang-format

View File

@ -0,0 +1,2 @@
parse_config:
raw_binding_map: { "TD(TD_SAFE_BOOT)": "SAFE BOOT" }

View File

@ -399,7 +399,8 @@ path.combo {
<g class="layer-L3">
<text x="30.0" y="1036.0" class="label">L3:</text>
<rect rx="6.0" ry="6.0" x="32.0" y="1066.0" width="52.0" height="52.0" class="key"/>
<text x="58.0" y="1092.0" class="tap">BOOT</text>
<text x="58.0" y="1092.0" class="tap">
<tspan x="58.0" dy="-0.6em">SAFE</tspan><tspan x="58.0" dy="1.2em">BOOT</tspan></text>
<rect rx="6.0" ry="6.0" x="88.0" y="1066.0" width="52.0" height="52.0" class="key"/>
<text x="114.0" y="1092.0" class="tap">
<tspan x="114.0" dy="-0.6em">EE</tspan><tspan x="114.0" dy="1.2em">CLR</tspan></text>

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -190,7 +190,7 @@ layers:
- RGB MOD
- ''
L3:
- BOOT
- SAFE BOOT
- EE CLR
- ''
- ''