CPU
Options and usage for the CPU module in mangobar.
Shows CPU usage or load average.
"modules-right": ["cpu"],
"cpu": {
"format": " {load}%"
}Options
| Option | Type | Default | Description |
|---|---|---|---|
format | string | CPU:{}% | Display format (see placeholders below) |
interval | int (s) | global sys-interval | Refresh interval override; 0/omitted uses the global value |
Placeholders
| Placeholder | Description |
|---|---|
{} / {usage} | CPU usage percent |
{load} | 1-minute load average (two decimals) |
{percent} | Alias for {usage} |
Styling
#cpu {
background: linear-gradient(to top, #c4b595, mix(#c4b595, #fbf1c7, 0.3));
color: #1b1a1a;
}Last updated on