diff --git a/.local/libexec/statusbar/sb-cpu b/.local/libexec/statusbar/sb-cpu index 7b66909d8..5b3828403 100755 --- a/.local/libexec/statusbar/sb-cpu +++ b/.local/libexec/statusbar/sb-cpu @@ -9,7 +9,7 @@ temp=$(sensors | awk '/CPU/ {printf ("%.f°C", $2)}' | tr -d "+") stats=$(awk '/cpu[0-9]+/ {printf "%d %d %d\n", substr($1,4), ($2 + $3 + $4 + $5), $5 }' /proc/stat 2>/dev/null) [ ! -f $cache ] && echo "$stats" >"$cache" old=$(cat "$cache") -printf "%b" " $temp" +printf "%b" " $temp" first=true echo "$stats" | while read -r row; do