feat(mini-docker): add Docker management plugin (#19)
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
id = "8bury/mini-docker"
|
||||
name = "Mini Docker"
|
||||
version = "1.0.3"
|
||||
min_noctalia = "5.0.0"
|
||||
author = "8bury"
|
||||
license = "MIT"
|
||||
icon = "brand-docker"
|
||||
description = "Manage Docker containers, images, volumes, and networks from Noctalia."
|
||||
tags = ["bar", "panel", "service", "development", "system", "utility"]
|
||||
dependencies = ["docker"]
|
||||
|
||||
[[setting]]
|
||||
key = "refresh_interval"
|
||||
type = "int"
|
||||
label_key = "settings.refresh_interval.label"
|
||||
description_key = "settings.refresh_interval.description"
|
||||
default = 5
|
||||
min = 1
|
||||
max = 30
|
||||
|
||||
[[setting]]
|
||||
key = "default_network"
|
||||
type = "string"
|
||||
label_key = "settings.default_network.label"
|
||||
description_key = "settings.default_network.description"
|
||||
default = "bridge"
|
||||
|
||||
[[widget]]
|
||||
id = "mini-docker"
|
||||
entry = "widget.luau"
|
||||
|
||||
[[widget.setting]]
|
||||
key = "show_count"
|
||||
type = "bool"
|
||||
label_key = "settings.show_count.label"
|
||||
description_key = "settings.show_count.description"
|
||||
default = true
|
||||
|
||||
[[widget.setting]]
|
||||
key = "glyph_color"
|
||||
type = "select"
|
||||
label_key = "settings.glyph_color.label"
|
||||
description_key = "settings.glyph_color.description"
|
||||
default = "on_surface"
|
||||
options = [
|
||||
{ value = "on_surface", label_key = "colors.default" },
|
||||
{ value = "primary", label_key = "colors.primary" },
|
||||
{ value = "secondary", label_key = "colors.secondary" },
|
||||
{ value = "tertiary", label_key = "colors.tertiary" }
|
||||
]
|
||||
|
||||
[[widget.setting]]
|
||||
key = "status_mode"
|
||||
type = "select"
|
||||
label_key = "settings.status_mode.label"
|
||||
description_key = "settings.status_mode.description"
|
||||
default = "always"
|
||||
options = [
|
||||
{ value = "always", label_key = "settings.status_mode.options.always" },
|
||||
{ value = "running_only", label_key = "settings.status_mode.options.running_only" },
|
||||
{ value = "hidden", label_key = "settings.status_mode.options.hidden" }
|
||||
]
|
||||
|
||||
[[widget.setting]]
|
||||
key = "active_color"
|
||||
type = "select"
|
||||
label_key = "settings.active_color.label"
|
||||
description_key = "settings.active_color.description"
|
||||
default = "tertiary"
|
||||
options = [
|
||||
{ value = "primary", label_key = "colors.primary" },
|
||||
{ value = "secondary", label_key = "colors.secondary" },
|
||||
{ value = "tertiary", label_key = "colors.tertiary" }
|
||||
]
|
||||
|
||||
[[widget.setting]]
|
||||
key = "inactive_color"
|
||||
type = "select"
|
||||
label_key = "settings.inactive_color.label"
|
||||
description_key = "settings.inactive_color.description"
|
||||
default = "error"
|
||||
options = [
|
||||
{ value = "error", label_key = "colors.error" },
|
||||
{ value = "on_surface_variant", label_key = "colors.muted" },
|
||||
{ value = "primary", label_key = "colors.primary" },
|
||||
{ value = "tertiary", label_key = "colors.tertiary" }
|
||||
]
|
||||
|
||||
[[panel]]
|
||||
id = "manager"
|
||||
entry = "panel.luau"
|
||||
width = 860
|
||||
height = 620
|
||||
placement = "floating"
|
||||
position = "center"
|
||||
open_near_click = true
|
||||
|
||||
[[service]]
|
||||
id = "docker-service"
|
||||
entry = "service.luau"
|
||||
Reference in New Issue
Block a user