Prevent or allow sleep
hs_keep_awakeStop your Mac from sleeping for long builds or downloads. You can also let it sleep again or check whether it is currently awake.
Instructions
Stop the Mac from sleeping, or let it sleep again. Called with no arguments it reports the current state. Useful before a long build or download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| awake | No | True to prevent sleep, false to allow it. Omit to only report the state. |