-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.toml
More file actions
84 lines (72 loc) · 2.65 KB
/
Copy pathplugin.toml
File metadata and controls
84 lines (72 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
id = "nilsonlinux/rss-notifier"
name = "RSS/Atom Notifier"
version = "1.0.2"
plugin_api = 14
author = "Nilsonlinux"
license = "MIT"
icon = "rss"
description = "Monitor RSS/Atom feeds and get notifications for new items."
tags = ["utility", "indicator"]
dependencies = ["xdg-open"]
# ---------------------------------------------------------------------------
# Settings de nivel de plugin: compartilhadas por TODAS as entries
# (service + widget). Editadas em Settings -> Plugins.
# ---------------------------------------------------------------------------
[[setting]]
key = "feed_urls"
type = "string_list"
label_key = "settings.feed_urls.label"
description_key = "settings.feed_urls.description"
default = []
[[setting]]
key = "refresh_minutes"
type = "int"
label_key = "settings.refresh_minutes.label"
description_key = "settings.refresh_minutes.description"
default = 30
min = 1
max = 1440
[[setting]]
key = "notify_new"
type = "bool"
label_key = "settings.notify_new.label"
description_key = "settings.notify_new.description"
default = true
[[setting]]
key = "max_notifications_per_cycle"
type = "int"
label_key = "settings.max_notifications_per_cycle.label"
description_key = "settings.max_notifications_per_cycle.description"
default = 5
min = 1
max = 50
advanced = true
# ---------------------------------------------------------------------------
# Service: roda em segundo plano, sem UI, busca e faz parsing dos feeds
# ---------------------------------------------------------------------------
[[service]]
id = "fetcher"
entry = "service.luau"
# ---------------------------------------------------------------------------
# Widget de barra: mostra a contagem de itens nao lidos
# ---------------------------------------------------------------------------
[[widget]]
id = "badge"
entry = "widget.luau"
[[widget.setting]]
key = "glyph"
type = "glyph"
label_key = "settings.glyph.label"
description_key = "settings.glyph.description"
default = "rss"
# ---------------------------------------------------------------------------
# Panel: janelinha com a lista de itens, aberta pelo clique no widget
# ---------------------------------------------------------------------------
[[panel]]
id = "panel"
entry = "panel.luau"
width = 360
height = 440
placement = "attached" # anexado a barra, perto do widget
position = "auto"
open_near_click = true