diff --git a/README.md b/README.md new file mode 100644 index 0000000..8f5aa7a --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Alfred.app Workflows + +## No Sleep + +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. diff --git a/assets/no-sleep.png b/assets/no-sleep.png new file mode 100644 index 0000000..6b9453b Binary files /dev/null and b/assets/no-sleep.png differ