This repository allows combining the convenience of Oryx’s graphical layout editing with the power of QMK, allowing you to customize your Oryx layout with advanced QMK features like Achordion and Repeat Key, while automating firmware builds through GitHub Actions.
For a detailed guide, check out the full blog post here.
Each time you run the GitHub Action, the workflow will:
- Fetch the latest changes made in Oryx.
- Merge them with any QMK features you've added in the source code.
- Build the firmware, incorporating modifications from both Oryx and your custom source code.
- Fork this repository (be sure to uncheck the "Copy the main branch only" option).
- To initialize the repository with your layout:
- Go to the Actions tab.
- Select Fetch and build layout.
- Click Run workflow.
- Input your layout ID and keyboard type (your layout must be public in Oryx), then run the workflow.
- (To avoid having to input values each time, you can modify the default values at the top of the
.github/workflows/fetch-and-build-layout.yml
file).
- A folder containing your layout will be generated at the root of the repository.
- You can now add your custom QMK features to this folder:
- Edit
config.h
,keymap.c
andrules.mk
according to the QMK documentation. - Commit and push to the main branch.
- Edit
- You can continue editing your layout through Oryx:
- Make your changes in Oryx.
- Optionally, add a description of your changes in the Some notes about what you changed field; if provided, this will be used as commit message.
- Confirm changes by clicking the Compile this layout button.
- To build the firmware (including both Oryx and code modifications), rerun the GitHub Action. The firmware will be available for download in the action’s artifacts.
- Flash your downloaded firmware using Keymapp.
- Enjoy!