| 1 | # CPU Configuration |
| 2 | |
| 3 | If you want to change some of the default behaviour of the CPU graph widget, you can configure things under the `[cpu]` section. |
| 4 | |
| 5 | ## Default CPU graph selection |
| 6 | |
| 7 | You can configure which CPU graph is shown by default on startup by setting `cpu.default`. Defaults to `"all"`, which |
| 8 | shows all entries. |
| 9 | |
| 10 | ```toml |
| 11 | [cpu] |
| 12 | # One of "all" (default), "average"/"avg" |
| 13 | default = "average" |
| 14 | ``` |
| 15 | |
| 16 | ## Show decimal |
| 17 | |
| 18 | You can configure whether CPU usage values are shown with a decimal place by setting `cpu.show_decimal`. Defaults |
| 19 | to `false`. |
| 20 | |
| 21 | ```toml |
| 22 | [cpu] |
| 23 | show_decimal = true |
| 24 | ``` |
| 25 | |
| 26 | ## Hide average CPU entry |
| 27 | |
| 28 | You can hide the average CPU entry entirely by setting `cpu.hide_avg_cpu`. Defaults to `false`. |
| 29 | |
| 30 | ```toml |
| 31 | [cpu] |
| 32 | hide_avg_cpu = true |
| 33 | ``` |
| 34 | |
| 35 | ## Place legend on the left |
| 36 | |
| 37 | You can place the CPU chart legend on the left side by setting `cpu.left_legend`. Defaults to `false`. |
| 38 | |
| 39 | ```toml |
| 40 | [cpu] |
| 41 | left_legend = true |
| 42 | ``` |
| 43 | |
| 44 | ## Average CPU row |
| 45 | |
| 46 | In basic mode, you can give the average CPU entry a dedicated row by setting `cpu.basic_average_cpu_row`. Defaults to `false`. |
| 47 | |
| 48 | ```toml |
| 49 | [cpu] |
| 50 | basic_average_cpu_row = true |
| 51 | ``` |