A standalone starting point for an installable Lua widget for EasyBar and EasyBar Native. Widgets created from this template can be installed directly or published through the official registry.
- Minimal stateful Lua widget and focused regression test
- Package manifest, editor configuration, formatting, and validation
- Deterministic release archive and checksum generation
- Local installation and GitHub release workflows
- Optional publication through the EasyBar Widget Registry
- Lua 5.5
- Python 3.11 or newer
- EasyBar or EasyBar Native for local installation
- StyLua for formatting Lua source
Create a repository from this template, then:
- Replace
example-widget,example_widget, andExample Widgetwith your package identity. - Update
package.toml, the repository URL, this README, and the license. - Implement the widget in
widget.luaand updatetests/test.luawith its behavior. - Add runtime images or files below
assets/and resolve them witheasybar.asset(...). - Run the complete checks and inspect the release archive.
make check
make packageInstall the checkout into EasyBar with:
make install
easybar config reloadTo test with EasyBar Native instead, install the checkout directly:
easybar-native widgets install . --no-registry
easybar-native config reloadThe template is licensed under the MIT License. Replace the license when creating a widget if you choose different terms.