hammerspoon2-docs
    Preparing search index...

    Function systemSleep

    • Puts the system to sleep immediately. Requires the Automation permission for System Events.

      Returns void