Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zkokaja/caffeinate

Menulet wrapper for /usr/bin/caffeinate
https://github.com/zkokaja/caffeinate

caffeinate macos menubar-app menulet productivity utility

Last synced: about 2 months ago
JSON representation

Menulet wrapper for /usr/bin/caffeinate

Awesome Lists containing this project

README

        


Coffee Cup Icon
Caffeinate

![GitHub Release](https://img.shields.io/github/v/release/zkokaja/caffeinate)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/zkokaja/caffeinate/release.yml)
![GitHub License](https://img.shields.io/github/license/zkokaja/caffeinate)

Have you ever noticed your mac getting sleepy at the most inopportune time?
First its display dims a little bit, and next it falls asleep altogether! With
this menulet you can share that caffeine goodness, and keep your Mac awake.
Potentially very useful when giving presentations, connected to remote
servers, or ensuring a long task will complete uninterrupted.

## Usage

Once installed and running, the coffee cup icon will appear in the top left side
of your menubar:


Menu Bar Icon

Clicking on it shows the following items. The first section lists time intervals
which you'd like to keep the system from sleeping. While the second allows you
to toggle options that alter the specific behavior which you want to prevent
(see the Options section below for details).


Menu Options
Menu Options On

## Installation

Options:

1. Download the app from GitHub releases,
[here (zip)](https://github.com/zkokaja/caffeinate/releases/latest/download/Caffeinate.zip).
2. Build with XCode then go to Product -> Archive to get a `.app` file.

## Options

From ` man caffeinate`:

| Option | Description |
| ---------- | ----------- |
| Disk | Create an assertion to prevent the disk from idle sleeping. |
| Display | Create an assertion to prevent the display from sleeping. |
| Idle Sleep | Create an assertion to prevent the system from idle sleeping. |
| System | Create an assertion to prevent the system from sleeping. This assertion is valid only when system is running on AC power. |
| User | Create an assertion to declare that user is active. If the display is off, this option turns the display on and prevents the display from going into idle sleep. |

## Developer

The code is very simple and self explanatory, and I welcome contributions. We simply
fork a process to `/usr/bin/caffeinate` for the core functionality.

Icons made by [Freepik](https://www.flaticon.com/authors/freepik) from
[www.flaticon.com](https://www.flaticon.com).