return function(api, ext)
if not api.navkit then
warn("Unable to access Navkit, aborting.")
return
end
local window = ext.window
api.navkit.newButton(
"helloWorldButton", -- id
{
category = "orbit.main",
name = "Hello World", -- what is displayed on the button
icon = nil, -- optional, nil cus im lazy
layoutorder = 99, -- optional, put it as last
clone = false, -- optional, we don't want to clone our window
},
window
)
end