draw: re-draw

main
sudo pacman -Syu 2023-09-07 13:56:58 +07:00 committed by sudo pacman -Syu
parent 46c1ec6983
commit e58cd09b89
6 changed files with 42 additions and 48 deletions

View File

@ -23,8 +23,8 @@ var mapTransform = []map[string]string{
{
// My custom
"LAYER_QWERTY": "0",
"LAYER_COMMON": "1",
"LAYER_RARELY": "2",
"LAYER_MOVE": "1",
"LAYER_OPTION": "2",
"LAYER_RECOVERY": "3",
},
{

View File

@ -7,11 +7,11 @@
+-------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---------+-------+
| ( SHIFT | Z | X | C | V | B | N | M | , | . | / | ) SHIFT | L1 |
+-----------+-----+-+-----+-----+-+-------+-------+-------+-------+-------+-------+-----+-+-------+-+-------+---+-------+
| | OPT | CMD | SPACE | CMD | OPT | |
| | OPT | CMD | SPACE | CMD | L2 | |
+-----------+-------+-----------+-------------------------------------------------------+-----------+-------+-----------+
+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
| ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | TG(2) |
| ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | |
+-------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-------+
| | | | | | | | | | | | UP | | DEL |
+-----------+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-----------+
@ -19,19 +19,19 @@
+-------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---------+-------+
| | | | | | | | | | | DOWN | | |
+-----------+-----+-+-----+-----+-+-------+-------+-------+-------+-------+-------+-----+-+-------+-+-------+---+-------+
| | | | | | | |
| | | | | | L3 | |
+-----------+-------+-----------+-------------------------------------------------------+-----------+-------+-----------+
+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
| | | | | | | | | | | | | | | TO(0) |
| | | | | | | | | | | | | | | |
+-------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-------+
| | BRMD | BRMU | | | | | | | | | | | |
+-----------+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-----------+
| CAPSLOCK | VOLD | VOLU | MUTE | | | | | HOME | PGUP | | | |
| CAPSLOCK | VOLD | VOLU | MUTE | | | | | | | | | |
+-------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---------+-------+
| | RGBH | RGBS | RGBV | | | | | END | PGDN | | | L3 |
| | RGBH | RGBS | RGBV | | | | | | | | | L3 |
+-----------+-----+-+-----+-----+-+-------+-------+-------+-------+-------+-------+-----+-+-------+-+-------+---+-------+
| | | | | RGBTO | RGBMO | |
| | RGBTO | RGBMO | | | | |
+-----------+-------+-----------+-------------------------------------------------------+-----------+-------+-----------+
+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+

View File

@ -54,10 +54,9 @@ parse_config:
"TD(TD_SAFE_BOOT)": "BOOT",
"CTL_T(KC_ESC)":
{ "t": "ESC", "h": "$$mdi:apple-keyboard-control$$", "type": "esc" },
"MO(LAYER_COMMON)": "L1",
"MO(LAYER_MOVE)": "L1",
"MO(LAYER_OPTION)": "L2",
"MO(LAYER_RECOVERY)": "L3",
"TG(LAYER_RARELY)": "TG2",
"TO(LAYER_QWERTY)": "TO0",
# Basic
"KC_H": { "t": "H", "type": "vim" },
"KC_J": { "t": "J", "type": "vim" },

View File

@ -331,7 +331,7 @@ rect.esc, rect.vim {
</g>
<g transform="translate(780, 270)" class="key keypos-60">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<use href="#mdi:apple-keyboard-option" xlink:href="#mdi:apple-keyboard-option" x="-9" y="-9" height="18" width="18.0" class="key tap glyph mdi:apple-keyboard-option"/>
<text x="0" y="0" class="key tap">L2</text>
</g>
<g transform="translate(855, 270)" class="key keypos-61">
<rect rx="6" ry="6" x="-43" y="-28" width="86" height="56" class="key"/>
@ -398,7 +398,6 @@ rect.esc, rect.vim {
</g>
<g transform="translate(870, 30)" class="key keypos-14">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<text x="0" y="0" class="key tap">TG2</text>
</g>
<g transform="translate(45, 90)" class="key keypos-15">
<rect rx="6" ry="6" x="-43" y="-28" width="86" height="56" class="key"/>
@ -544,6 +543,7 @@ rect.esc, rect.vim {
</g>
<g transform="translate(780, 270)" class="key keypos-60">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<text x="0" y="0" class="key tap">L3</text>
</g>
<g transform="translate(855, 270)" class="key keypos-61">
<rect rx="6" ry="6" x="-43" y="-28" width="86" height="56" class="key"/>
@ -597,7 +597,6 @@ rect.esc, rect.vim {
</g>
<g transform="translate(870, 30)" class="key keypos-14">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<text x="0" y="0" class="key tap">TO0</text>
</g>
<g transform="translate(45, 90)" class="key keypos-15">
<rect rx="6" ry="6" x="-43" y="-28" width="86" height="56" class="key"/>
@ -673,11 +672,9 @@ rect.esc, rect.vim {
</g>
<g transform="translate(555, 150)" class="key keypos-37">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<text x="0" y="0" class="key tap">HOME</text>
</g>
<g transform="translate(615, 150)" class="key keypos-38">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<text x="0" y="0" class="key tap">PGUP</text>
</g>
<g transform="translate(675, 150)" class="key keypos-39">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
@ -724,11 +721,9 @@ rect.esc, rect.vim {
</g>
<g transform="translate(585, 210)" class="key keypos-50">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<text x="0" y="0" class="key tap">END</text>
</g>
<g transform="translate(645, 210)" class="key keypos-51">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<text x="0" y="0" class="key tap">PGDN</text>
</g>
<g transform="translate(705, 210)" class="key keypos-52">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
@ -746,24 +741,24 @@ rect.esc, rect.vim {
</g>
<g transform="translate(120, 270)" class="key keypos-56">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<text x="0" y="0" class="key tap">
<tspan x="0" dy="-0.6em">RGB</tspan><tspan x="0" dy="1.2em">TOG</tspan>
</text>
</g>
<g transform="translate(195, 270)" class="key keypos-57">
<rect rx="6" ry="6" x="-43" y="-28" width="86" height="56" class="key"/>
<text x="0" y="0" class="key tap">
<tspan x="0" dy="-0.6em">RGB</tspan><tspan x="0" dy="1.2em">MOD</tspan>
</text>
</g>
<g transform="translate(450, 270)" class="key keypos-58">
<rect rx="6" ry="6" x="-208" y="-28" width="416" height="56" class="key"/>
</g>
<g transform="translate(705, 270)" class="key keypos-59">
<rect rx="6" ry="6" x="-43" y="-28" width="86" height="56" class="key"/>
<text x="0" y="0" class="key tap">
<tspan x="0" dy="-0.6em">RGB</tspan><tspan x="0" dy="1.2em">TOG</tspan>
</text>
</g>
<g transform="translate(780, 270)" class="key keypos-60">
<rect rx="6" ry="6" x="-28" y="-28" width="56" height="56" class="key"/>
<text x="0" y="0" class="key tap">
<tspan x="0" dy="-0.6em">RGB</tspan><tspan x="0" dy="1.2em">MOD</tspan>
</text>
</g>
<g transform="translate(855, 270)" class="key keypos-61">
<rect rx="6" ry="6" x="-43" y="-28" width="86" height="56" class="key"/>

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -62,7 +62,7 @@ layers:
- $$mdi:apple-keyboard-command$$
- { t: "$$mdi:keyboard-space$$", type: space }
- $$mdi:apple-keyboard-command$$
- $$mdi:apple-keyboard-option$$
- L2
- ""
L1:
- "`"
@ -79,7 +79,7 @@ layers:
- F11
- F12
- ""
- TG2
- ""
- ""
- ""
- ""
@ -125,7 +125,7 @@ layers:
- ""
- ""
- ""
- ""
- L3
- ""
L2:
- ""
@ -142,7 +142,7 @@ layers:
- ""
- ""
- ""
- TO0
- ""
- ""
- BRMD
- BRMU
@ -165,8 +165,8 @@ layers:
- ""
- ""
- ""
- HOME
- PGUP
- ""
- ""
- ""
- ""
- ""
@ -178,18 +178,18 @@ layers:
- ""
- ""
- ""
- END
- PGDN
- ""
- ""
- ""
- { t: "$$mdi:transfer$$", type: trans }
- L3
- ""
- ""
- ""
- ""
- RGB TOG
- RGB MOD
- ""
- ""
- ""
- ""
L3:
[
BOOT,

View File

@ -57,13 +57,13 @@
"KC_DOT",
"KC_SLSH",
"SC_RSPC",
"MO(LAYER_COMMON)",
"MO(LAYER_MOVE)",
"KC_NO",
"KC_LOPT",
"KC_LCMD",
"KC_SPC",
"KC_RCMD",
"KC_ROPT",
"MO(LAYER_OPTION)",
"KC_NO"
],
[
@ -81,7 +81,7 @@
"KC_F11",
"KC_F12",
"KC_NO",
"TG(LAYER_RARELY)",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
@ -127,7 +127,7 @@
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"MO(LAYER_RECOVERY)",
"KC_NO"
],
[
@ -145,7 +145,7 @@
"KC_NO",
"KC_NO",
"KC_NO",
"TO(LAYER_QWERTY)",
"KC_NO",
"KC_NO",
"KC_BRMD",
"KC_BRMU",
@ -168,8 +168,8 @@
"KC_NO",
"KC_NO",
"KC_NO",
"KC_HOME",
"KC_PGUP",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
@ -181,17 +181,17 @@
"KC_NO",
"KC_NO",
"KC_NO",
"KC_END",
"KC_PGDN",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_TRNS",
"MO(LAYER_RECOVERY)",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"RGB_TOG",
"RGB_MOD",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO"
],
[