From d41fa4d4bd70e908e4c9c1eae44f76a3e6a71e6f Mon Sep 17 00:00:00 2001 From: mnerv <24420859+mnerv@users.noreply.github.com> Date: Tue, 3 Feb 2026 22:10:45 +0100 Subject: [PATCH] winfetch: add more color display --- windows/winfetch.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/winfetch.ps1 b/windows/winfetch.ps1 index 9fc7934..c6a75f4 100644 --- a/windows/winfetch.ps1 +++ b/windows/winfetch.ps1 @@ -107,7 +107,7 @@ if ($Logo -eq "small") { "$($colors.BrightBlue)CPU$($colors.Reset): $($cpu.Name.Trim())", "$($colors.BrightBlue)Memory$($colors.Reset): ${usedMemGB}GB / ${totalMemGB}GB", "", - "$($colors.Blue)███$($colors.BrightBlue)███$($colors.Cyan)███$($colors.BrightCyan)███$($colors.Green)███$($colors.BrightGreen)███$($colors.Yellow)███$($colors.BrightYellow)███$($colors.Reset)" + (($colors.Keys | Where-Object { $_ -ne 'Reset' -and $_ -ne 'Gray' -and $_ -ne 'White' } | Sort-Object | ForEach-Object { "$($colors[$_])███" }) -join '') + $colors.Reset ) } else { $info = @( @@ -125,7 +125,7 @@ if ($Logo -eq "small") { "$($colors.BrightBlue)Memory$($colors.Reset): ${usedMemGB}GB / ${totalMemGB}GB", "$($colors.BrightBlue)Disk (C:)$($colors.Reset): ${usedDiskGB}GB / ${totalDiskGB}GB", "", - "$($colors.Blue)███$($colors.BrightBlue)███$($colors.Cyan)███$($colors.BrightCyan)███$($colors.Green)███$($colors.BrightGreen)███$($colors.Yellow)███$($colors.BrightYellow)███$($colors.Reset)" + (($colors.Keys | Where-Object { $_ -ne 'Reset' -and $_ -ne 'Gray' -and $_ -ne 'White' } | Sort-Object | ForEach-Object { "$($colors[$_])███" }) -join '') + $colors.Reset ) }