61 Commits

Author SHA1 Message Date
27aa448c1c tidy up for main
Some checks are pending
Build
Build / Build (push) Has started running
2023-04-11 20:26:28 +00:00
6ad09f6aab don't upload artifacts for now
All checks were successful
Build
2023-04-11 19:04:48 +00:00
69dea59871 try to upload as release instead
Some checks failed
Build
2023-04-10 21:43:16 +00:00
a21137dcab Revert "undo these things for curiosity"
Some checks failed
Build
This reverts commit 84c7f2a043.
2023-04-10 21:28:09 +00:00
84c7f2a043 undo these things for curiosity
Some checks failed
Build
2023-04-10 21:27:41 +00:00
93aad50f66 Revert "back to upload-artifact@v2"
Some checks failed
Build
This reverts commit 8bfa9fcc48.
2023-04-10 21:18:31 +00:00
8bfa9fcc48 back to upload-artifact@v2
Some checks failed
Build
2023-04-10 21:00:57 +00:00
154662d4cf add ACTIONS_RUNTIME_TOKEN env variable
Some checks failed
Build
2023-04-10 20:15:37 +00:00
d54600c8aa back to cache@v2
Some checks failed
Build
2023-04-10 19:51:26 +00:00
999156146b don't specify ssh creds
Some checks failed
Build
2023-04-10 19:47:29 +00:00
aea0303fb4 back to apt
Some checks are pending
Build
2023-04-10 19:46:11 +00:00
a83640484d try some formatting
Some checks are pending
Build
2023-04-09 20:19:11 +00:00
f552350c06 use apt-get for better output
Some checks are pending
Build
2023-04-09 20:11:43 +00:00
ce26164afb make it safe again
Some checks are pending
Build
2023-04-09 20:10:20 +00:00
eb1d8f38db change ssh access key after this
Some checks failed
Build
2023-04-09 20:04:22 +00:00
95d64d84a8 undo last commit
Some checks are pending
Build
2023-04-09 19:59:07 +00:00
af08714610 back to the roots; try githubs env
Some checks are pending
Build
2023-04-09 19:51:27 +00:00
71cd8ca6ed add ssh-known-hosts for strict host checking
Some checks failed
Build
2023-04-09 19:46:17 +00:00
42205882d7 install ssh too
Some checks failed
Build
2023-04-09 19:39:47 +00:00
c5a27a04ad apt update before installing
Some checks failed
Build
2023-04-09 19:37:32 +00:00
8ee0b58f15 wtf, install node before installing node?
Some checks failed
Build
2023-04-09 19:35:47 +00:00
6e2af44df2 setup node first
Some checks failed
Build
2023-04-09 19:31:40 +00:00
7ea66fa5c4 even more explicit URLs
Some checks failed
Build
2023-04-09 19:30:02 +00:00
09162c7e91 add node setup action
Some checks failed
Build
2023-04-09 19:28:43 +00:00
fa4c9ad355 [FIX!] more explicit repository URLs
Some checks failed
Build
2023-04-09 19:09:56 +00:00
762f3c1feb [FIX?] explicitly use github actions repo
All checks were successful
Build
2023-04-09 19:08:01 +00:00
1f35f407aa [FIX?] use @v3 actions
All checks were successful
Build
2023-04-09 19:05:41 +00:00
360b3e111f [FIX] pass ssh-key to cache too
All checks were successful
Build
2023-04-09 19:01:22 +00:00
0002b86f4b [FIX?]
All checks were successful
Build
2023-04-09 18:55:19 +00:00
e3a231b240 more gitea actions testing
All checks were successful
Build
2023-04-09 18:53:56 +00:00
ce7114cb52 try action version from gitea repository
All checks were successful
Build
2023-04-09 18:37:12 +00:00
85f70974f9 enable usb logging
All checks were successful
Build
2023-04-09 14:11:54 +00:00
664b4b61db [FIX] use correct shorthand modifier code 2023-04-09 13:50:54 +00:00
7f25cebef8 shorter sticky layer 2023-04-09 13:42:06 +00:00
de09bf6581 back to github for building
All checks were successful
Build
2023-04-09 13:37:31 +00:00
172b4c8516 try another token
All checks were successful
Build
2023-04-09 13:32:34 +00:00
7db1a8fc48 use token for auth
All checks were successful
Build
2023-04-09 13:31:10 +00:00
3d33228247 add ctrl+alt modifier
All checks were successful
Build
2023-04-09 12:33:13 +00:00
0ddce5b245 edit gaming layer 2023-02-23 19:39:22 +00:00
ca8dd8d70a remove obsolete tapdance 2023-02-23 19:28:45 +00:00
3705a299ec add media controls to gaming layer 2023-02-23 19:26:03 +00:00
d022eaeb38 clean up gaming layer 2023-02-23 19:23:44 +00:00
2d1a83c13b add more ways of typing "0" 2023-02-23 19:21:12 +00:00
a5fa0cb873 make modifiers on neo layer transparent 2023-02-23 19:19:03 +00:00
f6722c55d4 replace RALT with LALT 2023-02-23 10:45:20 +00:00
45a39cf338 replace RSHFT with RALT 2023-02-23 10:33:02 +00:00
593b46a642 back to &tog and don't use &mo on gaming layer. also add numpad to gaming layer 2023-02-22 17:53:24 +00:00
0d75a94ec8 [FIX] use &to instead of layer toggle 2023-02-22 17:20:36 +00:00
ad936239e7 added gaming layer and layer selector row 2023-02-22 17:08:04 +00:00
467e1a0a68 implement neo-layout layer 4 as ZMK layer 2023-02-21 17:54:03 +01:00
c62adf364a back to macros and add enter on i3 layer 2023-02-21 17:15:43 +01:00
c029d051a6 use modifier functions instead of macros on the i3 layer 2023-02-21 15:10:50 +01:00
a16cee39dc make i3 layer easier to read 2023-02-20 19:12:50 +00:00
0c1ac97baf formatting 2023-02-20 19:06:38 +00:00
a137529cc5 swap RSHIFT and &mo 1 and create proper macros for i3 window switching 2023-02-20 19:04:10 +00:00
2d2a367e12 more readable names 2023-02-20 18:43:11 +00:00
9c001841ae correctly name things 2023-02-20 18:56:16 +01:00
d521b8098b [FIX] use correct keycodes 2023-02-20 18:18:21 +01:00
39d877cf7a back to normal & renames 2023-02-20 18:05:53 +01:00
2c08556ff8 [don't use] macro test 2023-02-20 16:35:42 +01:00
74a0e42410 i3wm workspace selector 2023-02-20 16:20:07 +01:00
3 changed files with 57 additions and 112 deletions

View File

@@ -9,10 +9,14 @@ jobs:
image: zmkfirmware/zmk-build-arm:stable image: zmkfirmware/zmk-build-arm:stable
name: Build name: Build
steps: steps:
- name: Install Dependencies
run: apt update; apt install -y nodejs ssh
- name: Setup Node
uses: actions/setup-node@v3
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Cache west modules - name: Cache west modules
uses: actions/cache@v2 uses: https://github.com/actions/cache@v2
env: env:
cache-name: cache-zephyr-modules cache-name: cache-zephyr-modules
with: with:
@@ -33,26 +37,36 @@ jobs:
run: west update run: west update
- name: West Zephyr export - name: West Zephyr export
run: west zephyr-export run: west zephyr-export
- name: West Build (Corne Left) - name: West Build (Corne Left)
run: west build -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_left -DZMK_CONFIG="${GITHUB_WORKSPACE}/config" run: west build -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_left -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: Corne Left Kconfig file - name: Corne Left Kconfig file
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$" run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
- name: Rename zmk.uf2 # - name: Rename zmk.uf2
run: cp build/zephyr/zmk.uf2 corne_left_nice_nano_v2.uf2 # run: cp build/zephyr/zmk.uf2 corne_left_nice_nano_v2.uf2
- name: Archive (Corne Left) # - name: Archive (Corne Left)
uses: actions/upload-artifact@v2 # uses: https://github.com/actions/upload-artifact@v3
with: # with:
name: firmware # name: firmware
path: corne_left_nice_nano_v2.uf2 # path: corne_left_nice_nano_v2.uf2
- name: West Build (Corne Right) - name: West Build (Corne Right)
run: west build --pristine -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_right -DZMK_CONFIG="${GITHUB_WORKSPACE}/config" run: west build --pristine -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_right -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: Corne Right Kconfig file - name: Corne Right Kconfig file
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$" run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
- name: Rename zmk.uf2 # - name: Rename zmk.uf2
run: cp build/zephyr/zmk.uf2 corne_right_nice_nano_v2.uf2 # run: cp build/zephyr/zmk.uf2 corne_right_nice_nano_v2.uf2
- name: Archive (Corne Right) # - name: Archive (Corne Right)
uses: actions/upload-artifact@v2 # uses: https://github.com/actions/upload-artifact@v3
with: # with:
name: firmware # name: firmware
path: corne_right_nice_nano_v2.uf2 # path: corne_right_nice_nano_v2.uf2
# - name: Release
# - name: Upload artifacts as release
# uses: https://github.com/softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: |
# corne_left_nice_nano_v2.uf2
# corne_right_nice_nano_v2.uf2

View File

@@ -10,3 +10,5 @@ CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_TIMEOUT=30000 CONFIG_ZMK_IDLE_TIMEOUT=30000
# Sleep timeout to 15 minutes # Sleep timeout to 15 minutes
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
CONFIG_ZMK_USB_LOGGING=y

View File

@@ -9,96 +9,15 @@
#include <dt-bindings/zmk/bt.h> #include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h> #include <dt-bindings/zmk/outputs.h>
#define DEFAULT 0 &sl {
#define LOWER 1 release-after-ms = <1000>;
#define ADJUST 2 };
&sk { &sk {
quick-release; quick-release;
}; };
/ { / {
behaviors {
td_i3_workspace: tap_dance_0 {
compatible = "zmk,behavior-tap-dance";
label = "TAP_DANCE_0";
#binding-cells = <0>;
tapping-term-ms = <160>;
bindings = <&kp LGUI>, <&sl 2>;
};
};
macros {
i3_ws_0: i3_ws_0 {
label = "ZM_i3_ws_0";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 0>;
};
i3_ws_1: i3_ws_1 {
label = "ZM_i3_ws_1";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 1>;
};
i3_ws_2: i3_ws_2 {
label = "ZM_i3_ws_2";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 2>;
};
i3_ws_3: i3_ws_3 {
label = "ZM_i3_ws_3";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 3>;
};
i3_ws_4: i3_ws_4 {
label = "ZM_i3_ws_4";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 4>;
};
i3_ws_5: i3_ws_5 {
label = "ZM_i3_ws_5";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 5>;
};
i3_ws_6: i3_ws_6 {
label = "ZM_i3_ws_6";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 6>;
};
i3_ws_7: i3_ws_7 {
label = "ZM_i3_ws_7";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 7>;
};
i3_ws_8: i3_ws_8 {
label = "ZM_i3_ws_8";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 8>;
};
i3_ws_9: i3_ws_9 {
label = "ZM_i3_ws_9";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&kp LGUI &kp 9>;
};
};
keymap { keymap {
compatible = "zmk,keymap"; compatible = "zmk,keymap";
@@ -106,8 +25,8 @@
bindings = < bindings = <
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
&sk CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &sk CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&sk LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &sk RSHIFT &sk LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mo 1
&td_i3_workspace &sk LCTRL &kp SPACE &kp LC(BSPC) &sk RALT &mo 1 &kp LGUI &sk LCTRL &kp SPACE &kp LC(LALT) &sl 2 &sk LALT
>; >;
}; };
@@ -115,16 +34,26 @@
bindings = < bindings = <
&kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP &kp C_PREV &kp C_NEXT &kp C_PP &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_CLR &kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP &kp C_PREV &kp C_NEXT &kp C_PP &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_CLR
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &out OUT_BLE &out OUT_USB &none &none &none &none &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &out OUT_BLE &out OUT_USB &none &none &none &none
&kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &none &none &none &none &none &kp PAUSE_BREAK &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &tog 3 &none &none &none &none &kp PAUSE_BREAK
&trans &trans &none &none &trans &none &trans &trans &none &none &trans &none
>; >;
}; };
i3_layer {
neo_layer_4 {
bindings = < bindings = <
&trans &trans &trans &trans &trans &trans &trans &i3_ws_7 &i3_ws_8 &i3_ws_9 &trans &trans &none &kp PG_UP &kp BSPC &kp UP &kp DEL &kp PG_DN &none &kp N7 &kp N8 &kp N9 &none &none
&trans &trans &trans &trans &trans &trans &trans &i3_ws_4 &i3_ws_5 &i3_ws_6 &trans &trans &none &kp HOME &kp LEFT &kp DOWN &kp RIGHT &kp END &none &kp N4 &kp N5 &kp N6 &kp N0 &none
&trans &trans &trans &trans &trans &trans &trans &i3_ws_1 &i3_ws_2 &i3_ws_3 &trans &trans &trans &kp ESC &kp TAB &kp INSERT &kp ENTER &kp K_UNDO &kp N0 &kp N1 &kp N2 &kp N3 &none &none
&trans &trans &i3_ws_0 &none &trans &none &trans &trans &trans &trans &trans &trans
>;
};
gaming_layer {
bindings = <
&kp TAB &kp Q &kp W &kp E &kp R &kp T &none &kp N7 &kp N8 &kp N9 &none &kp C_PP
&kp LSHFT &kp A &kp S &kp D &kp F &kp G &none &kp N4 &kp N5 &kp N6 &kp N0 &kp C_VOL_UP
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N0 &kp N1 &kp N2 &kp N3 &none &kp C_VOL_DN
&kp LGUI &kp LCTRL &kp SPACE &tog 3 &kp ESC &none
>; >;
}; };
}; };