Shortcut for sleep

There are shortcuts for shutting down and rebooting PCs in Listary. How can I add a shortcut for putting my PC to sleep?

Download the NirCmd command-line tool and run nircmd standby.

I can do this with a Windows terminal too but, I want to use Listary instead of the terminal to do this.

You can do this:
features / commands - add new command:
keyword: sleep
title: Sleep Computer
path: rundll32.exe
parameter: powrprof.dll,SetSuspendState 0,1,0

1 Like