sleepwatcher
Install command:
brew install sleepwatcherMonitors sleep, wakeup, and idleness of a Mac
https://www.bernhard-baehr.de/
License: GPL-3.0-or-later
Development: Pull requests
Formula JSON API: /api/formula/sleepwatcher.json
Formula code: sleepwatcher.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| ventura | ✅ | |
| monterey | ✅ | |
| big sur | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| ventura | ✅ | |
| monterey | ✅ | |
| big sur | ✅ |
Current versions:
| stable | ✅ | 2.2.1 |
Requires: macOS
Service:
| Start now and at login: | brew services start sleepwatcher |
| Run directly: | $HOMEBREW_PREFIX/opt/sleepwatcher/sbin/sleepwatcher -V -s /$HOME/.sleep -w /$HOME/.wakeup |
| For SleepWatcher to work, you will need to write sleep and wakeup scripts, located here when using brew services: ~/.sleep ~/.wakeup |
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 226 | 1,242 | 5,279 |
Installs (--HEAD) | 1 | 2 | 7 |
| Installs on Request | 226 | 1,242 | 5,260 |
Installs on Request (--HEAD) | 1 | 1 | 6 |
| Build Errors | 0 |