Skip to content

Module: CPU

DreamMaoMao edited this page Aug 29, 2026 · 1 revision

Module: CPU

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)

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;
}

Clone this wiki locally