fix(plugin): Feed text encoding fix and panel UI improvements V1.0.2 (#271)

* fix(plugin): Feed text encoding fix and panel UI improvements V1.0.2

* fix(plugin): Feed text encoding fix and panel UI improvements V1.0.2

* Add xdg-open dependency to plugin.toml

Added 'xdg-open' as a dependency for the plugin.
This commit is contained in:
Nilsonlinux
2026-08-06 10:16:22 -04:00
committed by GitHub
parent 318d9adb91
commit d32a20cd32
7 changed files with 164 additions and 40 deletions
+5 -1
View File
@@ -22,7 +22,7 @@ local function render()
}))
end
table.insert(children, ui.glyph({ name = "rss", size = 14 }))
table.insert(children, ui.glyph({ name = noctalia.getConfig("glyph") or "rss", size = 14 }))
local container = barWidget.isVertical() and ui.column or ui.row
barWidget.render(container({ gap = 4, align = "center" }, children))
@@ -41,6 +41,10 @@ function update()
noctalia.setUpdateInterval(5000) -- so mantem o widget "vivo"; os dados reais vem do state
end
function onConfigChanged()
render() -- pega o novo glyph quando o usuario troca o icone nas settings do widget
end
function onClick()
-- abre/fecha a janelinha com a lista de itens; o proprio painel marca
-- como lido (zera o badge) quando e aberto, via IPC pro service