Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout image generation #5

Merged
merged 3 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 32 additions & 8 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,18 @@
layers = <6>;
require-prior-idle-ms = <2000>;
};

symbols {
bindings = <&sl 2>;
key-positions = <31 32>;
layers = <0 5 6 7 3>;
};

symbols_ext {
bindings = <&sl 3>;
key-positions = <31 32>;
layers = <2>;
};
};

macros {
Expand Down Expand Up @@ -123,15 +135,27 @@
};
};

behaviors {
mod_hold: mod_hold {
compatible = "zmk,behavior-hold-tap";
label = "MOD_HOLD";
bindings = <&mo>, <&sl>;

#binding-cells = <2>;
tapping-term-ms = <200>;
flavor = "tap-preferred";
};
};

keymap {
compatible = "zmk,keymap";

dvorak {
bindings = <
&kp ENTER &kp TAB &kp BACKSPACE &kp P &kp Y &kp F &kp G &kp C &kp R &kp L
&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S
&key_repeat &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z
&sl 1 &kp ESCAPE &kp SPACE &sl 2
&kp ENTER &kp TAB &kp BACKSPACE &kp P &kp Y &kp F &kp G &kp C &kp R &kp L
&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S
&key_repeat &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z
&mod_hold 1 1 &kp ESCAPE &kp SPACE &sl 2
>;

label = "dvorak";
Expand Down Expand Up @@ -194,10 +218,10 @@

qwerty {
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &key_repeat
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp BACKSPACE &kp TAB &kp ENTER
&sl 1 &kp ESCAPE &kp SPACE &sl 2
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &key_repeat
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp BACKSPACE &kp TAB &kp ENTER
&mod_hold 1 1 &kp ESCAPE &kp SPACE &sl 2
>;
};

Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "put the nice!nano into bootloader, flashing in 5 seconds..."
sleep 5
echo "flashing..."

unzip -o -q $(find .tmp -name *.zip) -d .tmp/
unzip -o -q $(find .tmp -name "*.zip") -d .tmp/

mkdir .tmp/nicenano/
sudo mount /dev/sda .tmp/nicenano/
Expand Down
Loading