i3 / i3status

Generates status bar to use with i3bar, dzen2 or xmobar
BSD 3-Clause "New" or "Revised" License
598 stars 251 forks source link

Display CPU usage as a bar graph using Unicode characters #506

Open englebienne opened 1 year ago

englebienne commented 1 year ago

Extends configuration keywords "%usage" with "%usagebar" and "%cpu" with "%cpubar", which display the corresponding statistics as a bar, one character wide, instead of a percentage. These keywords can be combined within a single configuration.

The graph is relatively coarse, with a resolution of 11 percentage points per bar increment, but it compresses the width of the representation from (typically) four characters into one. This is particularly useful on machines with larger numbers of cores.