Skip to content

mokiat/DoNotZz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoNotZz (i.e. don't sleep)

An application to keep you Mac awake. I wrote this project some time back to solve a number of problems I was facing when my Mac would fall asleep:

  • Long downloads would get interrupted
  • Certain deployment jobs would fail
  • Presentations would get disconnected

It was something I put together in a single night, without having every written anything in Swift. The years to follow I would make superficial updates but my Swift knowledge has not changed, so bear that in mind when looking at the code.

Still, it has served me well these past few years and even though there are now more sophisticated apps on the market, I enjoy the simplicity of DoNotZz and keep using it.

User's Guide

You can download the application from the Releases section of the repository. Each release should contain a DoNotZz.zip archive under the Assets section. Download the archive, extract it, and move the DoNotZz.app file to your Applications folder.

As the application is not officially signed, double-clicking would not open it and your MacOS will warn you that the application is not verified. The way to start such applications is by right-clicking on the application and using Open from there. The warning dialog will appear again but this time you will be given an option to ignore it and start the application.

Once started, the application should appear on your Menu Bar. By default the application is started in a Disabled state.

preview

To keep your system awake, click on the app's icon and select the Enable option. The icon will change in the Menu Bar to indicate it is running. Similarly, use Disable to allow the system to go to sleep.

The application does not make any intrusive adjustments to your system. It fakes running an activity that needs the system awake (similar to what happens when playing a video).

Note: When enabled, locking the Mac with ctrl + cmd + q does not cause the system to sleep, but closing the lid still does.