Files
community-plugins/gslapper/widget.luau
T
RAMAandGitHub 132c9fe00b Add gSlapper video wallpaper plugin (#152)
* feat: add gSlapper wallpaper plugin

* docs: clarify gSlapper installation and testing

* docs: state Noctalia v5 requirement

* docs: use generated plugin thumbnail

* fix: keep gSlapper videos playing by default
2026-07-29 21:03:53 -04:00

19 lines
325 B
Luau

--!nonstrict
local PANEL_ID = "nomadcxx/gslapper:picker"
local function render()
barWidget.setGlyph(noctalia.getConfig("glyph") or "wallpaper-selector")
barWidget.setTooltip(noctalia.tr("widget.tooltip"))
end
function onClick()
noctalia.togglePanel(PANEL_ID)
end
function onConfigChanged()
render()
end
render()