From 82143f471275269a0dd9aea2950d2a9730836e1d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 13 Jun 2016 20:42:16 +1000 Subject: [PATCH] Fuck wmic --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 53193a08..be6f64ca 100755 --- a/neofetch +++ b/neofetch @@ -1177,7 +1177,7 @@ getcpu_usage () { "Windows") cpu_usage="$(wmic cpu get loadpercentage /value)" cpu_usage="${cpu_usage/LoadPercentage'='}" - cpu_usage="${cpu_usage// }" + cpu_usage="${cpu_usage//[[:space:]]}" ;; "BSD")