|
NAMEwaybar - cpu moduleDESCRIPTIONThe cpu module displays the current cpu utilization.CONFIGURATIONinterval:typeof: integer default: 10 The interval in which the information gets polled. format:
format-icons:
max-length:
min-length: typeof: integer The minimum length in characters the module should take up. align: typeof: float The alignment of the text, where 0 is left-aligned and 1 is right-aligned. If the module is rotated, it will follow the flow of the text. rotate:
states:
on-click:
on-click-middle:
on-click-right:
on-update:
on-scroll-up:
on-scroll-down:
smooth-scrolling-threshold:
tooltip:
FORMAT REPLACEMENTS{load}: Current cpu load.{usage}: Current overall cpu usage. {usage{n}}: Current cpu core n usage. Cores are numbered from zero, so first core will be {usage0} and 4th will be {usage3}. {avg_frequency}: Current cpu average frequency (based on all cores) in GHz. {max_frequency}: Current cpu max frequency (based on the core with the highest frequency) in GHz. {min_frequency}: Current cpu min frequency (based on the core with the lowest frequency) in GHz. {icon}: Icon for overall cpu usage. {icon{n}}: Icon for cpu core n usage. Use like {icon0}. EXAMPLESBasic configuration:"cpu": { "interval": 10, "format": "{}% ", "max-length": 10 } Cpu usage per core rendered as icons: "cpu": { "interval": 1, "format": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% ", "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], }, STYLE•#cpu
Visit the GSP FreeBSD Man Page Interface. |