mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:17:36 +00:00
MenuApplets: Support memory usage and custom colors in ResourceGraph
The ResourceGraph menu applet now supports a few command line options: --cpu / -C to display a CPU usage graph --memory / -M to display a memory usage graph --name / -n to set a name which is used to order applets --color / -c to set the graph color (supports anything Gfx::Color::from_string() understands) The SystemServer.ini and WindowServer.ini config files have been updated to spawn and show two ResourceGraph menu applets, one for CPU usage (green) and one for memory usage (cyan) - this matches the colors in the SystemMonitor graphs.
This commit is contained in:
parent
b46a8d7335
commit
54fc972a72
3 changed files with 108 additions and 21 deletions
|
@ -24,4 +24,4 @@ DoubleClickSpeed=250
|
|||
Mode=scaled
|
||||
|
||||
[Applet]
|
||||
Order=Clock,Audio,ResourceGraph,UserName
|
||||
Order=Clock,Audio,CPUGraph,MemoryGraph,UserName
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue