* Add procmon plugin with live process panel New Noctalia plugin: bar widget shows CPU/RAM usage and process count; floating panel has a sortable, searchable process table with per-process kill. Background service samples ps and /proc stats and publishes via plugin state. * Throttle data-driven panel renders Rebuild table at most every 500ms to stay within the panel update CPU budget. User interactions still render immediately; only state watches and the tick go through maybeRender(). * Update procmon deps and fix timestamp precision Document head, grep, and cat as required commands. Correct refresh interval default to 1000 ms. Sample refreshedAtMs in milliseconds. * Add keyboard navigation and reduce CPU sampling - Panel: arrow keys move cursor, Ctrl+D kills selected, Ctrl+F focuses filter - Service: sample /proc stats every 1s, ps every 2s; 2s render floor - Widget: handle vertical bars, truncate text, use valid theme color - Bump version to 0.4.0, plugin_api 13
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"settings": {
|
|
"refresh_interval": {
|
|
"label": "Refresh interval (ms)",
|
|
"description": "How often the process list is resampled."
|
|
},
|
|
"sort_by": {
|
|
"label": "Default sort column",
|
|
"description": "Column the process table is sorted by when the panel opens.",
|
|
"options": {
|
|
"cpu": "CPU",
|
|
"mem": "Memory",
|
|
"pid": "PID",
|
|
"cmd": "Command"
|
|
}
|
|
},
|
|
"kill_command": {
|
|
"label": "Kill command",
|
|
"description": "Command run against a selected PID (the PID is appended). Empty uses kill -TERM."
|
|
},
|
|
"show_count": {
|
|
"label": "Show process count",
|
|
"description": "Append the number of processes to the bar widget text."
|
|
},
|
|
"glyph": {
|
|
"label": "Widget icon",
|
|
"description": "Glyph shown in the bar widget."
|
|
},
|
|
"icon_only": {
|
|
"label": "Icon only",
|
|
"description": "Show only a CPU icon in the bar widget; details move to the tooltip."
|
|
}
|
|
},
|
|
"widget": {
|
|
"tooltip": "CPU {cpu}% RAM {ram}% · {n} processes"
|
|
},
|
|
"panel": {
|
|
"title": "Processes",
|
|
"refreshed_at": "Updated {time}",
|
|
"refresh": "Refresh",
|
|
"load": "Load",
|
|
"search_placeholder": "Filter by name, user or PID",
|
|
"sort_asc": "asc",
|
|
"sort_desc": "desc",
|
|
"col": {
|
|
"pid": "PID",
|
|
"cpu": "CPU%",
|
|
"cpu_raw": "CPU",
|
|
"mem": "MEM%",
|
|
"mem_raw": "MEM",
|
|
"rss": "RSS",
|
|
"stat": "S",
|
|
"cmd": "COMMAND"
|
|
},
|
|
"count": "{n} processes",
|
|
"no_processes": "No matching processes",
|
|
"kill_tip": "Kill {pid}",
|
|
"keys_hint": "Ctrl+F filter · Ctrl+D kill selected · arrows move"
|
|
}
|
|
}
|