From f45951a147acea794901e358b30a65edf1fcf387 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Sat, 3 Sep 2016 14:46:59 +0700 Subject: [PATCH] Fixed percent not displaying in cpu_display --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 08fb6ac7..7a097b80 100755 --- a/neofetch +++ b/neofetch @@ -919,10 +919,10 @@ getcpu_usage() { # Print the bar case "$cpu_display" in - "info") cpu_usage="${cpu_usage}%" ;; "bar") cpu_usage="$(bar $cpu_usage 100)" ;; "infobar") cpu_usage="${cpu_usage}% $(bar $cpu_usage 100)" ;; "barinfo") cpu_usage="$(bar $cpu_usage 100) ${cpu_usage}%" ;; + *) cpu_usage="${cpu_usage}%" ;; esac }