Doorstopper is a Raycast extension which prevents your MacBook from going to sleep when you close the lid.
Note:
The underlying commands need to be run withsudo
privileges.
The extension will prompt you for your password.
To install the Doorstopper extension, follow these steps:
- Open Raycast.
- Search for "Store" and navigate to the Raycast Store.
- Search for "Doorstopper" and click "Install."
Once installed, simply trigger the Raycast command palette and search for the Doorstopper commands.
This command will enable Doorstopper, preventing your MacBook from sleeping when the lid is closed.
This command will disable Doorstopper, allowing your MacBook to sleep when the lid is closed.
This command will toggle the Doorstopper status between enabled and disabled.
This command will show the current status of Doorstopper (enabled or disabled).
This command will show the current status of Doorstopper in the menu bar.