sleepwatcher (sysutils/sleepwatcher) Add to my watchlist

monitors sleep, wakeup and idleness of a Mac

SleepWatcher monitors sleep, wakeup and idleness of a Mac. It can be used to execute a Unix command when the Mac or the display of the Mac goes to sleep mode or wakes up or after a given time without user interaction. It also can send the Mac to sleep mode or retrieve the time since last user activity.

Version: 2.2.1 License: GPL-3+ GitHub
Maintainers ryandesign
Categories sysutils
Homepage https://www.bernhard-baehr.de
Platforms macosx
Variants
  • universal (Build for multiple architectures)

"sleepwatcher" depends on

build (1)

Ports that depend on "sleepwatcher"

No ports


Port notes

The included system-wide launchd plist starts a sleepwatcher daemon which calls the scripts ".sleep" and ".wakeup" in your home directory when the computer goes to sleep and wakes up, respectively. For more control, and to be able to respond to display sleep, idle, and power manager events, ignore the system-wide launchd plist and write your own user-specific plist. Consult the manpage for the full range of possibilities. A startup item has been generated that will aid in starting sleepwatcher with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:

sudo port load sleepwatcher


Port Health:

Loading Port Health

Installations (30 days)

13

Requested Installations (30 days)

11