winfetch: add more color display
This commit is contained in:
@@ -107,7 +107,7 @@ if ($Logo -eq "small") {
|
|||||||
"$($colors.BrightBlue)CPU$($colors.Reset): $($cpu.Name.Trim())",
|
"$($colors.BrightBlue)CPU$($colors.Reset): $($cpu.Name.Trim())",
|
||||||
"$($colors.BrightBlue)Memory$($colors.Reset): ${usedMemGB}GB / ${totalMemGB}GB",
|
"$($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 {
|
} else {
|
||||||
$info = @(
|
$info = @(
|
||||||
@@ -125,7 +125,7 @@ if ($Logo -eq "small") {
|
|||||||
"$($colors.BrightBlue)Memory$($colors.Reset): ${usedMemGB}GB / ${totalMemGB}GB",
|
"$($colors.BrightBlue)Memory$($colors.Reset): ${usedMemGB}GB / ${totalMemGB}GB",
|
||||||
"$($colors.BrightBlue)Disk (C:)$($colors.Reset): ${usedDiskGB}GB / ${totalDiskGB}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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user