mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Add code
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
@@ -136,6 +136,13 @@ namespace Wox.Plugin.Sys
|
|||||||
Action = c => FormsApplication.SetSuspendState(PowerState.Suspend, false, false)
|
Action = c => FormsApplication.SetSuspendState(PowerState.Suspend, false, false)
|
||||||
},
|
},
|
||||||
new Result
|
new Result
|
||||||
|
{
|
||||||
|
Title = "Hibernate",
|
||||||
|
SubTitle = "Hibernate computer",
|
||||||
|
IcoPath = "Images\\sleep.png", // Icon change needed
|
||||||
|
Action = c => FormsApplication.SetSuspendState(PowerState.Hibernate, false, false)
|
||||||
|
},
|
||||||
|
new Result
|
||||||
{
|
{
|
||||||
Title = "Empty Recycle Bin",
|
Title = "Empty Recycle Bin",
|
||||||
SubTitle = context.API.GetTranslation("wox_plugin_sys_emptyrecyclebin"),
|
SubTitle = context.API.GetTranslation("wox_plugin_sys_emptyrecyclebin"),
|
||||||
|
|||||||
Reference in New Issue
Block a user