I have a new MacBook Pro that I leave plugged in and closed because I use an external display, keyboard, and mouse.
My monitor, keyboard, and mouse are also used by my PC.
When I'm finished with work, I'd like to be able to easily sleep the Mac so that my monitor can automatically switch over to my home PC.
Apple docs say:
Option–Command–Power button* or Option–Command–Media Eject : Put your Mac to sleep
But my Windows keyboard doesn't have a "Media Eject" or "Power" button on it.
What are my other options for easily putting my Mac to sleep?
I already know I could use the mouse to click Apple > Sleep. And I could open the lid and use the power button. But I'd prefer a keyboard command.
pmset sleepnow
then just double click it when you want to sleep your computer.