mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
Pretty direct port of the code, to prove it works. There's definitely some improvement to be made here, esp WRT to the network and GPU listing - networks should all just be listed. Or at least automatically track the active one. And GPU should aggregate a bunch of stats. And we can probably add the details to these list items. But most importantly, _it works_. re: #45201
32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using Microsoft.CommandPalette.Extensions.Toolkit;
|
|
|
|
namespace Microsoft.CmdPal.Ext.PerformanceMonitor;
|
|
|
|
internal sealed class Icons
|
|
{
|
|
internal static IconInfo CpuIcon => new("\uE9D9"); // CPU icon
|
|
|
|
internal static IconInfo MemoryIcon => new("\uE964"); // Memory icon
|
|
|
|
internal static IconInfo DiskIcon => new("\uE977"); // PC1 icon
|
|
|
|
internal static IconInfo HardDriveIcon => new("\uEDA2"); // HardDrive icon
|
|
|
|
internal static IconInfo NetworkIcon => new("\uEC05"); // Network icon
|
|
|
|
internal static IconInfo StackedAreaIcon => new("\uE9D2"); // StackedArea icon
|
|
|
|
internal static IconInfo GpuIcon => new("\uE950"); // Component icon
|
|
|
|
internal static IconInfo NavigateBackwardIcon => new("\uE72B"); // Previous icon
|
|
|
|
internal static IconInfo NavigateForwardIcon => new("\uE72A"); // Next icon
|
|
}
|
|
|
|
|
|
#pragma warning restore SA1402 // File may only contain a single type
|