sleepwatcher

Monitors sleep, wakeup, and idleness of a Mac

https://www.bernhard-baehr.de/

/api/formula-linux/sleepwatcher.json (JSON API)

Linux formula code on GitHub

Current versions:

stable 2.2.1
bottle 🍾 catalina, mojave, high_sierra, sierra

Requires: :macos

For SleepWatcher to work, you will need to read the following:

    $(brew --prefix)/Cellar/sleepwatcher/2.2.1/ReadMe.rtf

Ignore information about installing the binary and man page,
but read information regarding setup of the launchd files which
are installed here:

    

These are the examples provided by the author.
Fork me on GitHub