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:
+8
-4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user