diff --git a/zofle/build.bash b/zofle/build.bash index ceb138a..e642812 100755 --- a/zofle/build.bash +++ b/zofle/build.bash @@ -3,9 +3,9 @@ ZMK_DOCKER_IMAGE="${ZMK_DOCKER_IMAGE:-zmkfirmware/zmk-build-arm:2.5}" docker run -it --rm \ - -v (pwd)/.cache:/zofle \ - -v (pwd)/config:/zofle/config:ro \ - -v (pwd)/build:/build \ + -v ${PWD}/.cache:/zofle \ + -v ${PWD}/config:/zofle/config:ro \ + -v ${PWD}/build:/build \ "$ZMK_DOCKER_IMAGE" sh -c 'cd /zofle west init -l config west update diff --git a/zofle/config/sofle.keymap b/zofle/config/sofle.keymap index 67c9c85..5911302 100644 --- a/zofle/config/sofle.keymap +++ b/zofle/config/sofle.keymap @@ -51,6 +51,18 @@ sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_DN PG_UP >; }; + // gamer_layer { + // bindings = < + // &kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC + // &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC + // &mt LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT + // &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp K_PP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET + // &kp LALT &kp LGUI &kp SPACE &mo L_L &kp LSHFT &kp RET &mo L_R &kp SPACE &kp RALT &kp RSHFT + // >; + + // sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_DN PG_UP >; + // }; + lower_layer { bindings = < &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 @@ -77,10 +89,10 @@ combo_layer { bindings = < -&bootloader &trans &trans &trans &trans &out OUT_TOG &trans &trans &trans &trans &trans &bootloader +&bootloader &trans &trans &trans &bt BT_CLR &out OUT_TOG &trans &trans &trans &trans &trans &bootloader &reset &trans &trans &trans &trans &out OUT_BLE &kp C_PREV &kp C_VOL_DN &kp K_PP &kp C_VOL_UP &kp C_NEXT &reset &ext_power EP_TOG &ext_power EP_ON &trans &trans &trans &out OUT_USB &kp LEFT &kp DOWN &kp UP &kp RIGHT &ext_power EP_ON &ext_power EP_TOG -&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &kp HOME &kp PGDN &kp PGUP &kp END &trans &trans +&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &kp HOME &kp PGDN &kp PGUP &kp END &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans >; diff --git a/zofle/makefile b/zofle/makefile index f1494c8..4f1c4af 100644 --- a/zofle/makefile +++ b/zofle/makefile @@ -1,6 +1,6 @@ .PHONY: build sleep build: - @fish build.bash + @bash build.bash flash-left: @sudo fish flash.fish ./build/sofle_left_nice_nano.uf2