diff options
Diffstat (limited to 'sourcehut-builds/plugin.toml')
| -rw-r--r-- | sourcehut-builds/plugin.toml | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/sourcehut-builds/plugin.toml b/sourcehut-builds/plugin.toml new file mode 100644 index 0000000..1d443e2 --- /dev/null +++ b/sourcehut-builds/plugin.toml @@ -0,0 +1,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" |