mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 16:02:43 +01:00 
			
		
		
		
	Update man pages for cpu usage
This commit is contained in:
		| @@ -82,7 +82,9 @@ The *cpu* module displays the current cpu utilization. | ||||
|  | ||||
| *{load}*: Current cpu load. | ||||
|  | ||||
| *{usage}*: Current cpu usage. | ||||
| *{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. | ||||
|  | ||||
| @@ -90,7 +92,13 @@ The *cpu* module displays the current cpu utilization. | ||||
|  | ||||
| *{min_frequency}*: Current cpu min frequency (based on the core with the lowest frequency) in GHz. | ||||
|  | ||||
| # EXAMPLE | ||||
| *{icon}*: Icon for overall cpu usage. | ||||
|  | ||||
| *{icon*{n}*}*: Icon for cpu core n usage. Use like {icon0}. | ||||
|  | ||||
| # EXAMPLES | ||||
|  | ||||
| Basic configuration: | ||||
|  | ||||
| ``` | ||||
| "cpu": { | ||||
| @@ -100,6 +108,16 @@ The *cpu* module displays the current cpu utilization. | ||||
| } | ||||
| ``` | ||||
|  | ||||
| Cpu usage per core rendered as icons: | ||||
|  | ||||
| ``` | ||||
| "cpu": { | ||||
| 	"interval": 1, | ||||
| 	"format": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% ", | ||||
| 	"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], | ||||
| }, | ||||
| ``` | ||||
|  | ||||
| # STYLE | ||||
|  | ||||
| - *#cpu* | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Darkclainer
					Darkclainer