Skip to content

Commit

Permalink
added custom bindings config
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisj committed Mar 5, 2024
1 parent ba79676 commit 921a165
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Check for dirty working directory
run: git diff --exit-code
- name: Build client bundles
run: npm run build -- --no-typecheck --no-lint --define STATE_SERVERS=$(cat config/state_servers.json | tr -d " \t\n\r") --define NEUROGLANCER_BUILD_INFO='${{ env.BUILD_INFO }}'
run: npm run build -- --no-typecheck --no-lint --define STATE_SERVERS=$(cat config/state_servers.json | tr -d " \t\n\r") --define NEUROGLANCER_BUILD_INFO='${{ env.BUILD_INFO }}' --define CUSTOM_BINDINGS=$(cat config/custom-keybinds.json | tr -d " \t\n\r")
- name: Write build info
run: echo ${{ env.BUILD_INFO }} >> ./dist/min/version.json
shell: bash
Expand Down
18 changes: 18 additions & 0 deletions config/custom-keybinds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"keym": {
"layer": "segmentation",
"tool": "grapheneMergeSegments",
"provider": "graphene"
},
"keyc": {
"layer": "segmentation",
"tool": "grapheneMulticutSegments",
"provider": "graphene"
},
"keyf": {
"layer": "segmentation",
"tool": "grapheneFindPath",
"provider": "graphene"
},
"keyx": false
}

0 comments on commit 921a165

Please sign in to comment.