Will this turn off the display if the lid is closed?
Modafinil will prevent sleep and turn off the display when you close the lid. But just the `sudo pmset disablesleep 1` command alone will only prevent sleep when you close the lid, it won't turn off the display.
Modafinil will prevent sleep and turn off the display when you close the lid. But just the `sudo pmset disablesleep 1` command alone will only prevent sleep when you close the lid, it won't turn off the display.