Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates to work with alfred3 out of the box
- Loading branch information
Showing
7 changed files
with
78 additions
and
32 deletions.
There are no files selected for viewing
Binary file not shown.
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
Binary file not shown.
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
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 |
---|---|---|
@@ -1,27 +1,19 @@ | ||
## Requirements ## | ||
[Caffeinate](https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man8/caffeinate.8.html) is a native OS X command line utility that solves the problem of your Mac constantly falling asleep on you. This is especially annoying when you're trying to read something, and your screen keeps dimming and then turning off. This workflow allows you to interface with Caffeinate so that you needn't open the terminal and send commands. Caffeinate was introduced in Mountain Lion (10.8), and it basically replicates what the Caffeine utility ([web](http://lightheadsw.com/caffeine/) | [app store](http://itunes.apple.com/us/app/caffeine/id411246225) from [Lighthead Software](http://lightheadsw.com/)) does. | ||
|
||
OS X 10.8.x (Mountain Lion) or higher | ||
Option Configuration | ||
|
||
## Description ## | ||
You can configure how you want Caffeinate to work for you. Do you want to keep the system awake? Just the display? Everything? Just type "caff configure" (or "caff c"), and you can set the options easily. If you want to change how it works later, then just run the config again. Change however frequent you want! | ||
|
||
In Mountain Lion (10.8), Apple introduced a utility called "Caffeinate" that basically replicates what the Caffeine utility ([web](http://lightheadsw.com/caffeine/) | [app store](http://itunes.apple.com/us/app/caffeine/id411246225) from [Lighthead Software](http://lightheadsw.com/) does. | ||
Defaults | ||
|
||
## Installation ## | ||
Download the [workflow](http://www.packal.org/workflow/caffeinate-control) file and double click it. | ||
We default to "i" or just to keep the system from idling (which lets you display turn off). Just run the config and choose more options to as you please. Multiple options are available by pressing cmd while clicking. | ||
|
||
## Commands ## | ||
Commands | ||
|
||
Just type "caff" to get started. It will tell you the status and give you the most relevant option first. | ||
|
||
Otherwise: | ||
"caff e" enables caffeinate indefinitely | ||
"caff d" disables caffeinate | ||
"caff 15 2" enables caffeinate for 15 hours and 2 minutes | ||
"caff 23" enables caffeinate for 23 minutes | ||
"caff 2h" enables caffeinate for 2 hours | ||
"caff configure" opens the configuration dialog | ||
"caff help" opens the help dialog. | ||
|
||
See screenshots in directory. | ||
Example Arguments | ||
|
||
"caff e" enables caffeinate indefinitely "caff d" disables caffeinate "caff 15 2" enables caffeinate for 15 hours and 2 minutes "caff 23" enables caffeinate for 23 minutes "caff 2h" enables caffeinate for 2 hours "caff configure" opens the configuration dialog "caff help" opens the help dialog. | ||
|
||
Note: v1 and v2 were written in PHP. v3 is now simply a bash script and is much faster. |
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
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,16 @@ | ||
;;;;; | ||
; `workflow.ini` generated by Alphred v0.9.3 | ||
; at 2015-Sep-14 08:50:16 | ||
;;;;; | ||
|
||
|
||
[packal] | ||
github = "shawnrice/alfred-2-caffeinate-workflow" | ||
forum = "http://www.alfredforum.com/topic/3418-caffeinate-control-v-2-released/" | ||
tags = "sleep,display,os x annoyance fixers,caffeinate" | ||
categories = "Productivity,Utilities" | ||
osx = "10.11,10.10,10.9,10.8" | ||
description_file = "/Users/Sven/Downloads/packal_data/README.md" | ||
|
||
[workflow] | ||
version = "3.4.0" |