Fuck wmic
This commit is contained in:
parent
4a3de0c8ae
commit
82143f4712
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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")
|
||||
|
|
Loading…
Reference in a new issue