Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

A Caffeine clone for macOS Yosemite, El Capitan and Sierra (including Dark Mode).

License

Notifications You must be signed in to change notification settings

nickxma/KeepingYouAwake

 
 

Repository files navigation

KeepingYouAwake

KeepingYouAwake is a small menu bar utility for macOS Yosemite (Version 10.10) and newer that can prevent your Mac from entering sleep mode for a predefined duration or as long as it is activated.

Installation

Download the latest version here.

or install it via cask: brew cask install keepingyouawake.

Screenshots

Why does this project exist, Caffeine.app works perfectly fine?

Caffeine from Lighthead Software is a great utility and I used it for many years, but it hasn't been updated in a while. Its icons are not Retina-compatible and do not look nice in the dark themed menu bar.

How do you prevent my Mac from sleeping?

This utility is just a small wrapper around Apple's caffeinate command line utilty. Any modern Mac ships this tool by default. You can read the manpage here.

Is this dangerous?

Just to make it clear: this utility shouldn't harm your Mac because it is using an official command line tool from Apple, BUT I cannot guarantee anything, so use this tool AT YOUR OWN RISK.

Help Wanted!

Do you want to improve the app or add any useful features? Please go ahead and create pull requests. I'm thankful for any help.

Building the Source Code

KeepingYouAwake uses Carthage as dependency manager. You can install Carthage with Homebrew. Type brew update && brew install carthage and call carthage bootstrap in the KeepingYouAwake source code folder to download and build all dependencies.

License

Everything in this project is licensed under the MIT license. I even included the Sketch files for all image assets in this project.

The MIT License (MIT)

Copyright (c) 2014 – 2016 Marcel Dierkes

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A Caffeine clone for macOS Yosemite, El Capitan and Sierra (including Dark Mode).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 100.0%