No description
- C 96.7%
- Dockerfile 2.1%
- Makefile 1.2%
|
|
||
|---|---|---|
| mXqOx | ||
| qmk_firmware@f4a95d85c8 | ||
| .gitignore | ||
| .gitmodules | ||
| .woodpecker.yml | ||
| Dockerfile | ||
| LICENSE.md | ||
| README.md | ||
Oryx with custom QMK
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 Woodpecker CI.
For a detailed guide, check out the full blog post here.
How it works
Each time you run the Woodpecker pipeline, 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.
How to use
- Fork this repository (be sure to uncheck the "Copy the main branch only" option).
- Configure Woodpecker:
- Activate the repository in Woodpecker.
- Add a
git_push_tokensecret so the pipeline can push updates back tooryxandmain. - If you use
git_push_token, the repository owner is used as the HTTPS username.
- To initialize the repository with your layout:
- Open the repository in Woodpecker.
- Trigger the manual pipeline from
.woodpecker.yml. - Optionally set
LAYOUT_IDandLAYOUT_GEOMETRYparameters. Defaults aremXqOxandmoonlander/reva. - Your layout must be public in Oryx.
- To avoid entering values each time, update the defaults in
.woodpecker.yml.
- 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.candrules.mkaccording 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 Woodpecker manual pipeline. The firmware is copied to the pipeline workspace under
artifacts/. - Flash your downloaded firmware using Keymapp.
- Enjoy!
Oryx Chrome extension
To make building even easier, @nivekmai created an Oryx Chrome extension to be able to trigger builds from inside Oryx. The extension targets GitHub Actions, so it does not trigger this Woodpecker pipeline without customization.