Skip to Content
mangobar

CPU

Options and usage for the CPU module in mangobar.

Shows CPU usage or load average.

"modules-right": ["cpu"],

"cpu": {
    "format": " {load}%"
}

Options

OptionTypeDefaultDescription
formatstringCPU:{}%Display format (see placeholders below)
intervalint (s)global sys-intervalRefresh interval override; 0/omitted uses the global value

Placeholders

PlaceholderDescription
{} / {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

On this page