From 780c30de7d3624c51d045889792a78d854e358a3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 14 Nov 2016 01:03:19 +1100 Subject: [PATCH] CPU Usage: Wildcard case statement --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 44fc20a5..d0a87be1 100755 --- a/neofetch +++ b/neofetch @@ -863,7 +863,7 @@ get_cpu_usage() { cpu_usage="${cpu_usage//[[:space:]]}" ;; - "Linux" | "Mac OS X" | "iPhone OS" | "BSD" | "Solaris" | "GNU") + *) # Get cores if unset if [[ -z "$cores" ]]; then case "$os" in