Power button to sleep - possible?

I'd like to use the power button on my desktop PC as a sleep/wake button on my Big Sur OpenCore Intel Hackintosh. Possible? Right now I have to click Apple-Sleep or use another software way. Thanks.

submitted by /u/Stooovie
[link] [comments]