-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Alfred.app Workflows | ||
|
||
## No Sleep | ||
|
||
<img src="assets/no-sleep.png" width="64" height="64" alt="No Sleep" /> | ||
|
||
Workflow to prevent macOS from sleeping. | ||
|
||
Allows you to close the lid of your MacBook without entering sleep mode if sleep is disabled. | ||
|
||
### State agnostic | ||
|
||
The workflow is state agnostic and shows the `on`/`off` options according to the current state. | ||
|
||
### Requires administrator privileges | ||
|
||
The command (`pmset -a disablesleep [0,1]`) run by the workflow requires administrator privileges and therefore a password prompt is shown when the workflow is executed. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.