Skip to content

Commit

Permalink
Add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
roele committed Nov 10, 2020
1 parent 0fa20b7 commit 0ef1d28
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
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.
Binary file added assets/no-sleep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0ef1d28

Please sign in to comment.