Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zkokaja/caffeinate
- Owner: zkokaja
- License: mit
- Created: 2020-01-25T15:37:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T12:55:24.000Z (9 months ago)
- Last Synced: 2024-08-03T09:06:07.603Z (4 months ago)
- Topics: caffeinate, macos, menubar-app, menulet, productivity, utility
- Language: Swift
- Size: 1.11 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Mac-Menubar-Megalist - Caffeinate
README
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:
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).
## 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).