Quantcast
Channel: Objective Development Forums
Viewing all articles
Browse latest Browse all 4524

Re: [LB6 Action] Request: Caffeinate

$
0
0
prenagha wrote:Another version...

Keep your system awake using built-in /usr/bin/caffeinate. Give the action a string argument in the form of "2h" or "45m" or simply "2" (default in hours) to set the caffeinate/awake duration. Type enter without an argument on the action to see current caffeinate status and the option to stop the current caffeintation.

https://github.com/prenagha/launchbar#caffeinate





Orig idea and some code from https://github.com/shawnrice/alfred-2-c ... e-workflow


Awesome, this is just the kind of thing I was looking for with the use of the inbuilt caffeinate command.

EDIT: I got it working, thanks :)

Any chance you could use the same icon as ptujec? It's a pretty awesome icon :).

Viewing all articles
Browse latest Browse all 4524

Trending Articles