Skip to content

Commit

Permalink
Change jcmkk3's apt-like to bird
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar committed Jul 30, 2023
1 parent 1b00695 commit 916e84e
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 28 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Currently these keyboards are:
It mainly uses three non-base layers activated through two thumb keys, along with combos. It has <kbd>Ctrl</kbd>/<kbd>Shift</kbd> thumb hold-taps along with home row mods, which are also available on the left side of `NAV` layer.
`FUN` layer is implemented as a tri-layer, i.e. it is active when both `NAV` and `SYM` are active.

The default alpha layer is a modification of Colemak-DH and an alternative is the [Bird layout](https://github.com/jcmkk3/bird-layout) by @jcmkk3.

OS-dependent shortcuts are present on the `NAV` layer, e.g. for Windows:
- `Win Close`: <kbd>Alt</kbd><kbd>F4</kbdy>
- `Tab Next`: <kbd>Ctrl</kbd><kbd>Tab</kbd>
Expand Down
14 changes: 7 additions & 7 deletions config/3x5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

// Layer aliases
#define DEF 0
#define APT 1
#define BRD 1
#define GME 2
#define SYM 3
#define NAV 4
Expand Down Expand Up @@ -215,15 +215,15 @@
>;
};

apt30_layer {
label = "APT";
bird_layer {
label = "BRD";
bindings = <
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&kp W &kp C &kp G &kp D &kp B &kp J &kp L &kp U &kp O &kp Y
&kp X &kp C &kp L &kp F &kp B &kp J &kp Y &kp O &kp U &kp SQT
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&aml LCTRL R &aml LGUI S &aml LALT T &asl LSHFT H &kp K &kp X &asr RSHFT N &amr RALT E &amr RGUI A &amr RCTRL I
&aml LCTRL R &aml LGUI S &aml LALT N &asl LSHFT T &kp P &kp K &asr RSHFT H &amr RALT E &amr RGUI I &amr RCTRL A
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
ALP_XXX &kp F &kp M MS_ACT(P) ALP_XXX ALP_XXX &kp SQT &kp COMMA &kp DOT ALP_XXX
ALP_XXX &kp W &kp M MS_ACT(G) ALP_XXX ALP_XXX &kp D &kp COMMA &kp DOT ALP_XXX
// ╰─────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
T3_L_DEF &mt LCTRL ESC &lt NAV BSPC &lt SYM SPACE &mt RSHFT RET T3_R_DEF
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
Expand Down Expand Up @@ -279,7 +279,7 @@
label = "FUN";
bindings = <
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &out OUT_USB &out OUT_BLE &to DEF &to APT &to GME
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &out OUT_USB &out OUT_BLE &to DEF &to BRD &to GME
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
Expand Down
42 changes: 21 additions & 21 deletions config/combos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,34 @@
compatible = "zmk,combos";

COMBO(j, &kp J, 2 3, DEF, 80, 50)
COMBO(q, &kp Q, 2 3, APT, 80, 50)
COMBO(v_apt, &kp V, 1 2, APT, 80, 50)
COMBO(semi, &kp SEMI, 6 7, DEF APT, 40, 100)
COMBO(grave, &kp GRAVE, 7 8, DEF APT, 40, 100)
COMBO(lpar, &kp LPAR, 12 13, DEF APT, 40, 100)
COMBO(rpar, &kp RPAR, 16 17, DEF APT, 40, 100)
COMBO(lbkt, &kp LBKT, 11 12, DEF APT, 40, 100)
COMBO(rbkt, &kp RBKT, 17 18, DEF APT, 40, 100)
COMBO(tab, &kp TAB, 11 13, DEF APT, 40, 200)
COMBO(bspc, &kp BSPC, 16 18, DEF APT, 40, 200)
COMBO(q, &kp Q, 2 3, BRD, 80, 50)
COMBO(v_brd, &kp V, 1 2, BRD, 80, 50)
COMBO(semi, &kp SEMI, 6 7, DEF BRD, 40, 100)
COMBO(grave, &kp GRAVE, 7 8, DEF BRD, 40, 100)
COMBO(lpar, &kp LPAR, 12 13, DEF BRD, 40, 100)
COMBO(rpar, &kp RPAR, 16 17, DEF BRD, 40, 100)
COMBO(lbkt, &kp LBKT, 11 12, DEF BRD, 40, 100)
COMBO(rbkt, &kp RBKT, 17 18, DEF BRD, 40, 100)
COMBO(tab, &kp TAB, 11 13, DEF BRD, 40, 200)
COMBO(bspc, &kp BSPC, 16 18, DEF BRD, 40, 200)

COMBO(capswd, &caps_word, 13 16, DEF APT, 60, 200)
COMBO(capswd, &caps_word, 13 16, DEF BRD, 60, 200)

COMBO(play, &kp C_PP, 4 14, NAV, 200, 200)

#ifdef ALPHA_23332
COMBO(z, &kp Z, 20 21, DEF APT, 80, 50)
COMBO(z, &kp Z, 20 21, DEF BRD, 80, 50)
COMBO(v, &kp V, 21 22, DEF, 40, 50)
COMBO(bslh, &kp BSLH, 23 24, DEF APT, 80, 100)
COMBO(slsh, &kp SLASH, 24 25, DEF APT, 80, 50)
COMBO(bslh, &kp BSLH, 23 24, DEF BRD, 80, 100)
COMBO(slsh, &kp SLASH, 24 25, DEF BRD, 80, 50)

COMBO(f12, &kp F12, 20 21, FUN, 100, 200)
COMBO(btclr, &bt BT_CLR, 24 25, FUN, 100, 200)
#else
COMBO(z, &kp Z, 21 22, DEF APT, 80, 50)
COMBO(z, &kp Z, 21 22, DEF BRD, 80, 50)
COMBO(v, &kp V, 22 23, DEF, 40, 50)
COMBO(bslh, &kp BSLH, 26 27, DEF APT, 80, 100)
COMBO(slsh, &kp SLASH, 27 28, DEF APT, 80, 50)
COMBO(bslh, &kp BSLH, 26 27, DEF BRD, 80, 100)
COMBO(slsh, &kp SLASH, 27 28, DEF BRD, 80, 50)

COMBO(f12, &kp F12, 21 22, FUN, 100, 200)
COMBO(btclr, &bt BT_CLR, 27 28, FUN, 100, 200)
Expand All @@ -57,15 +57,15 @@ COMBO(btclr, &bt BT_CLR, 27 28, FUN, 100, 200)
#ifdef MOUSE_KEYS
# ifdef THREE_THUMBS
# ifdef ALPHA_23332
COMBO(mse_l, &mo MSE, 27 28, DEF APT, 100, 0)
COMBO(mse_l, &mo MSE, 27 28, DEF BRD, 100, 0)
# else
COMBO(mse_l, &mo MSE, 31 32, DEF APT, 100, 0)
COMBO(mse_l, &mo MSE, 31 32, DEF BRD, 100, 0)
# endif
# else
# ifdef ALPHA_23332
COMBO(mse_l, &mo MSE, 26 27, DEF APT, 100, 0)
COMBO(mse_l, &mo MSE, 26 27, DEF BRD, 100, 0)
# else
COMBO(mse_l, &mo MSE, 30 31, DEF APT, 100, 0)
COMBO(mse_l, &mo MSE, 30 31, DEF BRD, 100, 0)
# endif
# endif
#endif
Expand Down

0 comments on commit 916e84e

Please sign in to comment.