dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
21.95k stars 1.76k forks source link

Wrong value in CPU usage #2197

Open rilysh opened 2 years ago

rilysh commented 2 years ago

Description

When I put cpu_usage (info "CPU Usage" cpu_usage) in the neofetch config file before the CPU variable, it shows the wrong amount of CPU usage.

Neofetch version

Neofetch 7.1.0

Screenshot

After plotting cpu_usage before cpu

image

Config file

 info "CPU Usage" cpu_usage  <- Here the issue comes when I plot `cpu_usage` first
 info "CPU" cpu

Config: Download

Verbose log

Log file: Download