blob: 1d443e2d411f6561c101ae656dd3c5b3227da790 (
plain)
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
|
id = "rbdr/sourcehut-builds"
name = "Sourcehut Builds"
version = "1.0.0"
plugin_api = 30
author = "rbdr"
license = "AGPL-3"
dependencies = []
tags = ["bar", "panel", "development"]
icon = "circle"
description = "A widget that shows your recent sourcehut builds"
[[setting]]
key = "sourcehut_api_token"
type = "string"
label_key = "settings.sourcehut_api_token.label"
description_key = "settings.sourcehut_api_token.description"
default = ""
[[setting]]
key = "build_count"
type = "int"
label_key = "settings.build_count.label"
description_key = "settings.build_count.description"
default = 10
min = 1
max = 20
[[setting]]
key = "recent_cutoff"
type = "int"
label_key = "settings.recent_cutoff.label"
description_key = "settings.recent_cutoff.description"
default = 900
min = 60
max = 86400
[[panel]]
id = "panel"
entry = "panel.luau"
width = 450
height = 320
placement = "attached"
open_near_click = true
[[service]]
id = "poller"
entry = "poller.luau"
[[widget]]
id = "bar"
entry = "bar.luau"
[[widget.setting]]
key = "glyph"
type = "glyph"
label_key = "settings.glyph.label"
description_key = "settings.glyph.description"
default = "circle"
[[widget.setting]]
key = "ok_glyph"
type = "glyph"
label_key = "settings.ok_glyph.label"
description_key = "settings.ok_glyph.description"
default = "check"
[[widget.setting]]
key = "failed_glyph"
type = "glyph"
label_key = "settings.failed_glyph.label"
description_key = "settings.failed_glyph.description"
default = "x"
[[widget.setting]]
key = "in_progress_glyph"
type = "glyph"
label_key = "settings.in_progress_glyph.label"
description_key = "settings.in_progress_glyph.description"
default = "circle-caret-right"
|