# CPU Configuration

If you want to change some of the default behaviour of the CPU graph widget, you can configure things under the `[cpu]` section.

## Default CPU graph selection

You can configure which CPU graph is shown by default on startup by setting `cpu.default`. Defaults to `"all"`, which
shows all entries.

```toml
[cpu]
# One of "all" (default), "average"/"avg"
default = "average"
```

## Show decimal

You can configure whether CPU usage values are shown with a decimal place by setting `cpu.show_decimal`. Defaults
to `false`.

```toml
[cpu]
show_decimal = true
```

## Hide average CPU entry

You can hide the average CPU entry entirely by setting `cpu.hide_avg_cpu`. Defaults to `false`.

```toml
[cpu]
hide_avg_cpu = true
```

## Place legend on the left

You can place the CPU chart legend on the left side by setting `cpu.left_legend`. Defaults to `false`.

```toml
[cpu]
left_legend = true
```

## Average CPU row

In basic mode, you can give the average CPU entry a dedicated row by setting `cpu.basic_average_cpu_row`. Defaults to `false`.

```toml
[cpu]
basic_average_cpu_row = true
```
