From a7ae635498e6b1e7eed9894ab8272e066b2f245f Mon Sep 17 00:00:00 2001 From: AJ <1754228+280Zo@users.noreply.github.com> Date: Tue, 5 Nov 2024 00:04:35 -0800 Subject: [PATCH] update keymap names for svg --- .github/workflows/draw_keymaps.yaml | 14 +++++++++++--- config/charybdis.keymap | 10 +++++----- config/macros.dtsi | 12 +----------- keymap-drawer/config.yaml | 1 + 4 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/draw_keymaps.yaml b/.github/workflows/draw_keymaps.yaml index 207df395..ade4b8c7 100644 --- a/.github/workflows/draw_keymaps.yaml +++ b/.github/workflows/draw_keymaps.yaml @@ -159,10 +159,18 @@ jobs: "&VSplit": "VSPLIT", "&caps_word": "CAPS WORD", "&td_bore": "L_BASE L_EXTRA", - "&tdtb": "SCROLL TRACKBALL", - "&tdtb2": "SCROLL SNIPE", "&tdmt": "L1/BS LCLICK", - "&tdbt": "L2/ESC RCLICK" + "&tdbt": "L2/ESC RCLICK", + "&td_layers": "L_BASE L_PHOTO L_GAME", + "&td_cursor": "SCRL SLOW", + "&shrug": "SHRUG", + "&lgtm": "LGTM", + "&gcm": "GIT COMMIT", + "&clip_hist": "CLIP HIST", + "&shit": "SHIT SUDO", + "&new_dir": "NEW DIR", + "&py_iter": "PYTHON LOOP", + "&js_iter": "JS LOOP" } run: | get_args() { diff --git a/config/charybdis.keymap b/config/charybdis.keymap index 71625024..a08e22eb 100644 --- a/config/charybdis.keymap +++ b/config/charybdis.keymap @@ -15,8 +15,8 @@ #define PHOTOS 5 #define EXTRAS 6 #define MOUSE 7 -#define SLOW 8 -#define SCROLL 9 +// #define SLOW 8 +// #define SCROLL 9 / { chosen { zmk,matrix_transform = &default_transform; }; @@ -194,7 +194,7 @@ bindings = < &none &none &none &none &none &none &none &kp LS(LC(H)) &kp LS(LC(J)) &kp LS(LC(K)) &kp LS(LC(L)) &none &trans &trans &trans &trans &trans &trans &VSplit &kp LEFT_ARROW &kp DOWN &kp UP &kp RIGHT_ARROW &none -&trans &none &none &none &none &none &HSplit &kp HOME &kp PG_DN &kp PG_UP &kp END &trans +&none &none &none &none &trans &none &HSplit &kp HOME &kp PG_DN &kp PG_UP &kp END &none &none &none &trans &trans &trans >; }; @@ -229,7 +229,7 @@ EXTRAS { bindings = < &kp C_SLEEP &shrug &lgtm &gcm &none &kp C_BRIGHTNESS_INC &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_CLR &kp C_AL_COFFEE -&kp C_POWER &shit &py_iter &js_iter &find &kp C_BRIGHTNESS_DEC &out OUT_TOG &kp C_PREVIOUS &kp C_PLAY_PAUSE &kp C_STOP &kp C_NEXT &none +&kp C_POWER &shit &py_iter &js_iter &none &kp C_BRIGHTNESS_DEC &out OUT_TOG &kp C_PREVIOUS &kp C_PLAY_PAUSE &kp C_STOP &kp C_NEXT &none &bootloader &none &none &none &none &clip_hist &new_dir &kp C_VOLUME_DOWN &kp C_VOLUME_UP &kp K_MUTE &kp PRINTSCREEN &bootloader &none &none &none &none &none >; @@ -239,7 +239,7 @@ bindings = < &none &msc MOVE_LEFT &msc MOVE_UP &mmv MOVE_UP &msc MOVE_DOWN &msc MOVE_RIGHT &none &none &none &none &none &none &kp TAB &mkp MB4 &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &mkp MB5 &none &kp RIGHT_SHIFT &kp RCTRL &kp LEFT_ALT &kp LEFT_META &none -&trans &kp C_AC_UNDO &kp C_AC_CUT &kp C_AC_COPY &kp C_AC_PASTE &mkp MCLK &none &none &none &none &none &trans +&none &kp C_AC_UNDO &kp C_AC_CUT &kp C_AC_COPY &kp C_AC_PASTE &mkp MCLK &none &none &none &none &none &none &trans &trans &trans &kp RETURN &trans >; }; diff --git a/config/macros.dtsi b/config/macros.dtsi index 65287771..ae0fe602 100644 --- a/config/macros.dtsi +++ b/config/macros.dtsi @@ -24,7 +24,7 @@ , <¯o_release &kp LCTRL &kp LSHFT> , <¯o_tap &kp N0 &kp N0 &kp A &kp F &kp SPC> // \ - , <¯o_tap &kp BSLH> + , <¯o_tap &kp BACKSLASH> // _ , <¯o_tap &kp UNDER> // ( @@ -196,16 +196,6 @@ ; }; - find: find { // FIND - compatible = "zmk,behavior-macro"; - #binding-cells = <0>; - bindings - = <¯o_press &kp LCTRL> - , <¯o_tap &kp F> - , <¯o_release &kp LCTRL> - ; - }; - clip_hist: clip_hist { // CLIPBOARD_HISTORY compatible = "zmk,behavior-macro"; #binding-cells = <0>; diff --git a/keymap-drawer/config.yaml b/keymap-drawer/config.yaml index 6f0512dd..91b842bc 100644 --- a/keymap-drawer/config.yaml +++ b/keymap-drawer/config.yaml @@ -236,6 +236,7 @@ parse_config: LA(KP_N1): "REJECT" LA(KP_N2): "PENDING" LA(KP_N3): "ACCEPT" + F12: "DEV TOOLS" zmk_combos: {} zmk_preamble: "#define KEYMAP_DRAWER" zmk_additional_includes: []