yambar/doc/yambar-modules-cpu.5.scd
2021-12-21 18:44:36 +01:00

42 lines
642 B
Markdown

yambar-modules-cpu(5)
# NAME
cpu - This module provides the CPU usage
# TAGS
[[ *Name*
:[ *Type*
:[ *Description*
| cpu
: range
: Current usage of the whole CPU in percent
| cpu<0..X>
: range
: Current usage of CPU core X in percent
# CONFIGURATION
[[ *Name*
:[ *Type*
:[ *Req*
:[ *Description*
| interval
: int
: no
: Refresh interval of the CPU usage stats in ms (default=500). Cannot be less then 500 ms
# EXAMPLES
```
bar:
left:
- cpu:
interval: 2500
content:
string: {text: "{cpu1}%"}
```
# SEE ALSO
*yambar-modules*(5), *yambar-particles*(5), *yambar-tags*(5), *yambar-decorations*(5)