Skip to content

Commit

Permalink
using display_name for layers
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien Mouthuy committed Aug 12, 2024
1 parent 8c433df commit 1345163
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 42 deletions.
36 changes: 18 additions & 18 deletions config/corneish_zen.l_alpha-HD-vv.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


l_alpha {
label = "HD-Vv";
display-name = "HD-Vv";
bindings = <
&ak_x &ak_w &ak_m &ak_g &ak_j &HashDllr &DotColn &SqtLbkt &DqtRbkt &ak_b
&hml LCTRL S &hml LALT C &hml LGUI N &hrm_t LSHFT T &ak_k &CmmaSemi &hrm_a RSHFT A &hrm_e RGUI E &hrm_i RALT I &hmr RCTRL H
Expand All @@ -23,7 +23,7 @@
};

l_akG {
label = "l_akG";
display-name = "l_akG";
bindings = <
&kp T &kp D &kp L _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ &ak_lk _____ _____ _____ _____ _____
Expand All @@ -32,7 +32,7 @@
>;
};
l_akM {
label = "l_akM";
display-name = "l_akM";
bindings = <
&kp F &kp L _____ &ak_lg _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
Expand All @@ -41,7 +41,7 @@
>;
};
l_akX {
label = "l_akX";
display-name = "l_akX";
bindings = <
_____ &ak_x &kp L _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
Expand All @@ -50,7 +50,7 @@
>;
};
l_akT {
label = "l_akT";
display-name = "l_akT";
bindings = <
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
_____ &Ch _____ _____ &ak_ck _____ _____ _____ _____ _____
Expand All @@ -59,7 +59,7 @@
>;
};
l_akK {
label = "l_akK";
display-name = "l_akK";
bindings = <
_____ _____ _____ &kp L _____ _____ _____ _____ _____ _____
_____ _____ _____ &kp N _____ _____ _____ _____ _____ _____
Expand All @@ -68,7 +68,7 @@
>;
};
l_akD {
label = "l_akD";
display-name = "l_akD";
bindings = <
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
Expand All @@ -77,7 +77,7 @@
>;
};
l_akW {
label = "l_akW";
display-name = "l_akW";
bindings = <
&kp S _____ &ak_lm _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
Expand All @@ -86,7 +86,7 @@
>;
};
l_akF {
label = "l_akF";
display-name = "l_akF";
bindings = <
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
Expand All @@ -95,7 +95,7 @@
>;
};
l_akB {
label = "l_akB";
display-name = "l_akB";
bindings = <
_____ _____ _____ _____ _____ _____ &kp U &l_j_o &l_j_y _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
Expand All @@ -104,7 +104,7 @@
>;
};
l_akV {
label = "l_akV";
display-name = "l_akV";
bindings = <
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
Expand All @@ -113,7 +113,7 @@
>;
};
l_akJ {
label = "l_akJ";
display-name = "l_akJ";
bindings = <
_____ _____ _____ &l_j_g _____ _____ &kp U &l_j_o &l_j_y &kp I
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
Expand All @@ -124,7 +124,7 @@


l_akA {
label = "l_akA";
display-name = "l_akA";
bindings = <
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ &kp U
Expand All @@ -133,7 +133,7 @@
>;
};
l_akU {
label = "l_akU";
display-name = "l_akU";
bindings = <
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ &kp A
Expand All @@ -142,7 +142,7 @@
>;
};
l_akE {
label = "l_akE";
display-name = "l_akE";
bindings = <
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ &kp O
Expand All @@ -151,7 +151,7 @@
>;
};
l_akO {
label = "l_akO";
display-name = "l_akO";
bindings = <
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ &kp E
Expand All @@ -160,7 +160,7 @@
>;
};
l_akI {
label = "l_akI";
display-name = "l_akI";
bindings = <
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ &kp P
Expand All @@ -170,7 +170,7 @@
};

l_akDot {
label = "l_akDot";
display-name = "l_akDot";
bindings = <
_____ _____ _____ _____ _____ _____ _____ &dotcom &dotedu _____
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____
Expand Down
10 changes: 5 additions & 5 deletions config/corneish_zen.l_layers.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//╰──────────────────╮ | BKSP | DEL | | | ° | · ╭────────────────╯
// ╰─────────────────────────╯ ╰─────────────────────────╯
l_sym {
label = "l_sym";
display-name = "l_sym";
bindings = <
&kp Z &kp Q &kp LG(LS(N4)) &kp LG(LS(LC(N4))) &kp ESC &kp RA(N4) &kp DLLR &kp LA(LS(N2)) &kp LA(N3) &kp RA(Y)
&lk_ltgt GT LT &lk_bkt RBKT LBKT &lk_par RPAR LPAR &lk_brc RBRC LBRC &kp TAB &kp LA(N1) &mt RSHFT STAR &mt RGUI EQUAL &mt RALT PLUS &mt LCTRL FSLH
Expand All @@ -27,7 +27,7 @@
//╰─────────────────╮ MENU | BSPC | ENTER | | 0 | . | ----- ╭───────────────╯
// ╰──────────────────────────╯ ╰────────────────────────╯
l_num {
label = "l_num";
display-name = "l_num";
bindings = <

&kp KP_NUM &kp PG_DN &kp UP &kp PG_UP &kp TAB &kp KP_SLASH &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS
Expand All @@ -47,7 +47,7 @@
// ╰─────────────────────────╯ ╰───────────────────────╯

l_fun {
label = "l_fun";
display-name = "l_fun";
bindings = <

&kp F9 &kp F10 &kp F11 &kp F12 &kp F13 &kp GRAVE &kp N7 &kp N8 &kp N9 &kp BSLH
Expand All @@ -66,7 +66,7 @@
//╰──────────────────╮ | dwdlt | dwdrt | | back | fwd | ╭────────────────╯
// ╰─────────────────────────╯ ╰─────────────────────────╯
l_nav {
label = "l_nav";
display-name = "l_nav";
bindings = <
&kp RG(W) &kp RG(Q) &kp LG(LS(N4)) &kp LG(LS(LC(N4))) &kp ESC &kp LG(EQUAL) &kp HOME &kp UP &kp PG_UP &none
&kp LCTRL &kp LALT &kp LGUI &kp LSHFT &kp RG(F) &kp LA(LEFT) &kp LEFT &kp DOWN &kp RIGHT &kp LA(RIGHT)
Expand All @@ -77,7 +77,7 @@

// Keyboard & System Settings
l_cfg {
label = "l_cfg";
display-name = "l_cfg";
bindings = <
//&none &none &none &none &none &none &none &none &none &none &none &none
&bt BT_SEL 3 &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0 &bt BT_CLR &none &none &none &none &none
Expand Down
22 changes: 3 additions & 19 deletions config/splitkb_aurora_sweep.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
};

shift {
display-name = "l_shift";
bindings = <
&trans &kp FR_SEMI &kp FR_COLON &kp LS(FR_P) &kp LS(FR_Y) &kp LS(FR_F) &kp LS(FR_G) &kp LS(FR_C) &kp LS(FR_R) &kp LS(FR_L)
&mt LCTRL LS(FR_A) &mt LALT LS(FR_O) &mt LSHIFT LS(FR_E) &mt LGUI LS(FR_I) &kp LS(FR_U) &kp LS(FR_D) &mt RGUI LS(FR_H) &mt RSHIFT LS(FR_T) &lt 0 LS(FR_N) &mt RCTRL LS(FR_S)
Expand All @@ -266,6 +267,7 @@
};

Symbols {
display-name = "l_symbols";
bindings = <
&kp FR_GRAVE &kp FR_LEFT_BRACKET &kp FR_LEFT_BRACE &kp FR_LEFT_PARENTHESIS &kp FR_LESS_THAN &kp FR_GREATER_THAN &kp FR_RIGHT_PARENTHESIS &kp FR_RIGHT_BRACE &kp FR_RIGHT_BRACKET &kp FR_ASTERISK
&kp FR_AT &kp FR_UNDER &kp FR_MINUS &kp FR_EQUAL &trans &trans &kp FR_SLASH &kp FR_PIPE &kp FR_BACKSLASH &kp FR_PLUS
Expand All @@ -275,6 +277,7 @@
};

Numbers {
display-name = "l_numbers";
bindings = <
&kp FR_LESS_THAN &kp FR_LEFT_BRACKET &kp FR_LEFT_BRACE &kp FR_LEFT_PARENTHESIS &kp FR_GRAVE &kp FR_COMMA &kp FR_N7 &kp FR_N8 &kp FR_N9 &kp FR_STAR
&kp FR_AT &kp FR_QUESTION &kp FR_MINUS &kp FR_SLASH &kp BACKSLASH &kp FR_DOT &kp FR_N4 &kp FR_N5 &kp FR_N6 &kp FR_PLUS
Expand Down Expand Up @@ -314,17 +317,6 @@
sensor-bindings = <&inc_dec_kp C_BRI_DEC C_BRI_UP>;
};

layer_5 {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans
>;

sensor-bindings = <&inc_dec_kp C_AC_SCROLL_DOWN C_AC_SCROLL_UP>;
};

layer_7 {
bindings = <
&trans &kp FR_UMLAUT &kp FR_CARET &kp FR_LEFT_PARENTHESIS &kp FR_CARET &trans &kp FR_RIGHT_PARENTHESIS &kp FR_C_CEDILLA &trans &trans
Expand All @@ -334,14 +326,6 @@
>;
};

layer_9 {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans
>;
};

#include "corneish_zen.l_alpha-HD-vv.dtsi" // base (alpha) layer (& related adaptive layers)
#include "corneish_zen.l_layers.dtsi" // all other (common) layers (shouldn't vary)
Expand Down

0 comments on commit 1345163

Please sign in to comment.