update(procmon): fix windowed table follow-scroll & row sizing` (#340)

* update(procmon): fix windowed table follow-scroll & row sizing`

* Update plugin.toml

* Update README.md

* fix(procmon): always render list body as scroll to stop bottom clipping

0-result search switched the body from ui.scroll to a bare ui.row; when
results returned the row->scroll switch left the flexGrow viewport stuck
short, clipping bottom rows. Use ui.scroll with a shared key in both
branches so the tree keeps one stable scroll node.
This commit is contained in:
weinguyen
2026-08-12 22:41:55 -04:00
committed by GitHub
parent a4ae9c8ab4
commit 691398d9da
3 changed files with 105 additions and 12 deletions
+8 -4
View File
@@ -25,6 +25,7 @@ usage (plus the process count). Click the widget to toggle the process panel:
```sh
noctalia msg panel-toggle weinguyen/procmon:panel
```
The panel shows CPU, RAM and swap bars with the 1/5/15-minute load averages,
then a process table. Sort by the column dropdown (PID, CPU%, MEM%, RSS,
COMMAND) and flip asc/desc with the arrow button. Type in the filter box to
@@ -54,7 +55,10 @@ while it is open.
- The bar widget only renders data the service publishes; it never runs
commands. The panel runs the configured `kill_command` when a row's ✕ is
clicked.
- Requires `plugin_api = 13`. CPU%, RAM%, swap and the 1/5/15-minute load
averages are sampled from `/proc` (`/proc/stat`, `/proc/meminfo`,
`/proc/loadavg`) by the service, so they work with no separate system-monitor
dependency.
- Requires `plugin_api = 13`. The panel renders a windowed slice of the
process table and follows the keyboard cursor with edge-follow scrolling
(window slides only when the cursor pushes past an edge, so scrolling up
doesn't collapse the page until the top edge is reached). CPU%, RAM%, swap
and the 1/5/15-minute load averages are sampled from `/proc` (`/proc/stat`,
`/proc/meminfo`, `/proc/loadavg`) by the service, so they work with no
separate system-monitor dependency.