CPU

> Published on Sun, 17 Dec 2023, 16:50> Updated on Mon, 6 Jan 2025, 12:06

Description

The CPU widget displays the current CPU usage in percentage.

Interactions

Activity Monitor is opened when clicking on this widget. This behavior can be changed in settings.

Available settings

You can set the following CPU widget settings in the simple-bar settings:

  • Refresh frequency: The refresh frequency in milliseconds. Default is 2000 (2 seconds).
  • Show on display: The displays on which the widget will be displayed. Add a list of indexes (for example: "1,2"). Leave blank to display the widget on every spaces. Default is "".
  • Display as graph: Instead of show current CPU information, the widget will display a graphic showing the latest 100 seconds (it can change depending of the refresh frequency of the widget) of CPU activity. All drawn points are relative to the highest value. Default is false.
  • Cpu monitor app : Define the opened app on widget click: Activity Monitor, Top or None. Default is "Activity Monitor".

Display as graph mode can drain the battery faster than normal mode as it requires frequent redraws and needs to keep the past state in memory.

Something is wrong in this documentation? Please open an issue on GitHub in simple-bar repo.