Stop a Mac Sleeping Only When Specific Apps Are Running
There are plenty of ways to prevent sleep, whether it’s the caffeinate command, the Caffeine menubar item, pmset, or hot corners, but each of those is all encompassing, meaning being active prevents sleep regardless of what is running. If you’ve ever thought it’d be nice to selectively prevent sleep based on specific applications instead, that’s exactly what Wimoweh does.
Wimoweh allows you to prevent sleep (and the password locked screen savers) on a per-app basis, meaning it will determine that if something like Chrome or Terminal is running, the Mac won’t go to sleep or activate the lock screen, but if those apps aren’t running, the Mac will sleep and activate screen savers as usual. This is a great way to prevent sleep and screen savers activating in situations where you don’t want them to happen, but without having the all-encompassing no-sleep function of the commonly used Caffeine-like options.
So how does Wimoweh work? It’s simple. Wimoweh sits in the menu bar, pull down the menu and you can access the following options:
- Apps Preventing Sleep – this will show you if any application is preventing sleep, it’s name and process ID, and why it’s preventing sleep
- Never Sleep Whilst Running – this will show all currently running apps, and let you select which apps prevent sleep, a check alongside an app name indicates that app will not allow sleep
- Prevent Computer Sleep – all encompassing, with this active the Mac won’t sleep at all
Use Wimoweh and you’ll never have to worry about your Mac sleeping, the screen saving popping up and locking, or the screen going dark when a movie is playing, a torrent is downloading, a scp session is active, or the myriad of other situations where frankly you just don’t want the Mac to take a break, even if it’s on battery life and seemingly inactive.
Heads up to MacGasm for finding this great little app