From c54e6c806bc8132e86a0fed3f62e681ef969abe3 Mon Sep 17 00:00:00 2001 From: vndroid Date: Tue, 11 Feb 2025 14:18:27 +0800 Subject: [PATCH] Update - change CPU format --- screenfetch-dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screenfetch-dev b/screenfetch-dev index d95f9ade..3af6eabd 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -1641,14 +1641,14 @@ detectcpu () { fi fi if [[ "${cpun}" -gt "1" ]]; then - cpun="${cpun}x " + cpun="${cpun}x" else cpun="" fi if [ -z "$cpufreq" ]; then cpu="${cpun}${cpu}" else - cpu="$cpu @ ${cpun}${cpufreq}" + cpu="$cpu (${cpun}) @ ${cpufreq}" fi if [ -d '/sys/class/hwmon/' ]; then for dir in /sys/class/hwmon/* ; do