• Stars
    star
    173
  • Rank 219,327 (Top 5 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 11 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An Alfred2 workflow to control the system caffeinate utility (prevents sleep).

Caffeinate Control

Caffeinate 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 | app store from Lighthead Software) does.

Option Configuration

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!

Defaults

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

Just type caff to get started. It will tell you the status and give you the most relevant option first.

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.

License

MIT

More Repositories

1

packal-updater

Draft Code for the Alfred package manager
PHP
106
star
2

alfred.flux

Control Flux with Alfred
PHP
28
star
3

alfred2-workflow-help

An Alfred2 workflow that will display the commands of all other workflows.
Python
26
star
4

alfred-documentation

Mostly a place to host a wiki to document Alfred
26
star
5

alfred-bundler

a utility / workflow to handle dependencies
PHP
21
star
6

alfred-cron

A workflow that allows for a fake cron to be run and managed through Alfred 2
Shell
20
star
7

alphred

php library for alfred workflows
PHP
17
star
8

alfred-translate-api

PHP
7
star
9

alfred2-workflow-toggle-caffeine

Alfred2 workflow to toggle Caffeine
6
star
10

alfred2-text-manipulator

An Alfred2 workflow to manipulate text case
5
star
11

teikn

TypeScript
4
star
12

packal-api-libraries

Libraries to Interface with the Packal API
PHP
4
star
13

alfred2-dhcp-toggle

An Alfred2 workflow to switch your DHCP settings between automatic and manual ip selection
Shell
4
star
14

Alfred-Helpers

3
star
15

revertible-reducers

JavaScript
3
star
16

dotfiles

Shell
3
star
17

wp-network-blog-metadata

PHP
2
star
18

react-card-games

JavaScript
2
star
19

bundler-docs

Documentation Development for Alfred Bundler
CSS
2
star
20

alfred-projects

This is just a collection of my Alfred Projects in a single, convenient repo. All the files are just submodules.
2
star
21

alfred2-workflow-remove-dup-applescript-dicts

An Alfred2 workflow to remove duplicate entries of AppleScript dictionaries
1
star
22

reckoning

A Wordpress plugin to show a page of users' posts and comments on an admin page.
PHP
1
star
23

pl-graph

WIP
TypeScript
1
star
24

alfred-seo-check

Alfred Workflow for SEO ranking
PHP
1
star
25

part

HTML
1
star
26

one-off-experiments

just random stuff
1
star
27

bookmarks

a set of dev related bookmarks
1
star
28

transcript-generator

JavaScript
1
star
29

alfred-wifi-networks

Just playing around with connecting to wifi networks with Alfred
PHP
1
star