feat: add disk-monitor plugin - #109
Conversation
- Bar widget and panel for monitoring disk usage - Shows free space, capacity bars, SSD detection - Uses lsblk and df
|
• 1. blocking - disk-monitor/plugin.toml:1 The required dependencies field is missing despite spawning lsblk and df. disk-monitor/service.luau:58 Declare both dependencies and add a Requirements section naming them. This currently fails repository validation.
All six settings translations use flattened dotted keys with uppercase characters. Their manifest references are consequently invalid. disk-monitor/plugin.toml:22 Rewrite the catalog using nested objects and lowercase key segments, then update the manifest references. This currently fails repository validation.
Runtime translation keys used by the widget and panel are absent from en.json, and their fallbacks and several direct labels are Portuguese. English disk-monitor/widget.luau:90 Add valid English translations and translate the remaining direct labels.
The documentation and setting description advertise name_free, percent, and size. The implementation has no size format and instead supports free_only disk-monitor/translations/en.json:3 Make the documented and implemented format values consistent.
The panel renders every detected disk but defines selection callbacks only for disks 1 through 8. disk-monitor/panel.luau:120 By the way we have |
Plugin
rael2pac/disk-monitorWhat it does
Bar widget and panel for monitoring disk usage. Shows free space in the bar and detailed panel with capacity bars, SSD/HDD detection, and disk selection.
External dependencies
lsblkfor disk detectiondffor filesystem usageTesting
Screenshots / Videos
Checklist
idafter/inplugin.tomlexactly.plugin.toml,README.md,thumbnail.webp, andtranslations/en.json.README.mdfollows the README template.thumbnail.webpwith the thumbnail generator. (TODO)versionfollows semver;plugin_apiis the oldest API level required.catalog.toml.Code review attestation
licensedeclared inplugin.toml.