Contributor Notes¶
Use this page when changing the Lua runtime or public Lua API.
Where to change what¶
Widget API¶
api.luaeasybar_api.base.luaeasybar_api.events.luaeasybar_api.luadocs/lua/*
easybar_api.base.lua is the hand-edited source stub.
easybar_api.events.lua is generated from the event catalog.
easybar_api.lua is the combined generated artifact that EasyBar installs for LuaLS/editor support.
Driver events¶
event_tokens.luaeasybar_api.events.luaeasybar_api.lua- Swift event sources
Event payloads¶
EventHub.swiftEventTypes.swiftevents.lua
Rendering¶
render.luaWidgetNodeState.swift
Process and runtime¶
RuntimeCoordinator.swiftWidgetEngine.swiftLuaProcessController.swiftLuaTransport.swift
Notes¶
- widget directory is executable Lua
- every
*.luafile is loaded - reload is a full reset
- protocol:
- Lua socket JSON in/out via
EasyBarLuaRuntime - stderr logs
If you change the Lua API¶
When changing the Lua API:
- update runtime code
- update stubs
- update docs
- update examples