Add Cat plugin (#59)

An animated cat bar widget whose pace reflects CPU usage: sleeps
idle, walks under light load, runs under heavy load. Color follows
the theme by default or a pinned custom color. Cat artwork traced
from the MIT-licensed CatWalk plasmoid into a custom icon font.
This commit is contained in:
Robert Ward
2026-07-20 21:01:42 -04:00
committed by GitHub
parent c72063a2fe
commit 813efca594
6 changed files with 308 additions and 0 deletions
+76
View File
@@ -0,0 +1,76 @@
id = "dotnetrob/cat"
name = "Cat"
version = "1.1.2"
plugin_api = 3
author = "DotNetRob"
license = "MIT"
dependencies = []
icon = "paw"
description = "An animated running cat bar widget whose speed reflects CPU usage."
tags = ["bar", "animation", "system", "fun"]
[[widget]]
id = "cat"
entry = "cat.luau"
[[widget.setting]]
key = "cat_size"
type = "int"
label_key = "settings.cat_size.label"
description_key = "settings.cat_size.description"
default = 24
min = 12
max = 48
[[widget.setting]]
key = "show_cpu_percent"
type = "bool"
label_key = "settings.show_cpu_percent.label"
description_key = "settings.show_cpu_percent.description"
default = false
[[widget.setting]]
key = "walk_threshold"
type = "int"
label_key = "settings.walk_threshold.label"
description_key = "settings.walk_threshold.description"
default = 15
min = 0
max = 100
[[widget.setting]]
key = "run_threshold"
type = "int"
label_key = "settings.run_threshold.label"
description_key = "settings.run_threshold.description"
default = 60
min = 0
max = 100
[[widget.setting]]
key = "poll_interval"
type = "int"
label_key = "settings.poll_interval.label"
description_key = "settings.poll_interval.description"
default = 2
min = 1
max = 10
[[widget.setting]]
key = "cat_color_mode"
type = "select"
label_key = "settings.cat_color_mode.label"
description_key = "settings.cat_color_mode.description"
default = "theme"
options = [
{ value = "theme", label_key = "settings.cat_color_mode.option_theme" },
{ value = "custom", label_key = "settings.cat_color_mode.option_custom" },
]
[[widget.setting]]
key = "cat_color"
type = "color"
label_key = "settings.cat_color.label"
description_key = "settings.cat_color.description"
default = "#E8A24C"
visible_when = { key = "cat_color_mode", values = ["custom"] }