We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5cd798 commit 89a4524Copy full SHA for 89a4524
winfetch.ps1
@@ -689,9 +689,9 @@ function info_theme {
689
function info_cpu {
690
$cpu = Get-CimInstance -ClassName Win32_Processor -Property Name,MaxClockSpeed -CimSession $cimSession
691
$cpuname = if ($cpu.Name.Contains('@')) {
692
- ($cpu.Name -Split ' @ ')[0]
+ ($cpu.Name -Split ' @ ')[0].Trim()
693
} else {
694
- $cpu.Name
+ $cpu.Name.Trim()
695
}
696
$cpufreq = [math]::round((([int]$cpu.MaxClockSpeed)/1000), 2)
697
return @{
0 commit comments