Make all displays black

I use my MacBook with the internal display and two screens attached, so 3 displays in total. Sometimes I need to do work at my desk without using the computer, and I find that the displays distract me a lot. I'd like a quick way (shortcut or easily accessible script) to make all 3 displays black. One way to achieve that is to open an entirely black image in Preview and make it full screen, but I'm open to other solutions if they achieve the same goal.

How can I automate the process of opening 3 copies of an image and make them full screen, each on a different display of otherwise assign a shortcut to this?


One can sleep all displays by pressing either of the following built-in keyboard shortcut as applicable:

  • Control–Shift–Power button1
  • Control–Shift–Media Eject

1 Does not apply to the Touch ID sensor.