Skip to content

A tiny C++ wrapper around pmset to prevent or enable sleeping with the lid closed on MacBooks

License

Notifications You must be signed in to change notification settings

GeoSn0w/sleeputil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sleeputil

A tiny C++ wrapper around pmset to prevent or enable sleeping with the lid closed on MacBooks I made it because caffeinate refuses to work on macOS Sierra and newer and any other solution I tried refuses to work especially with the lid closed. This works and it is pretty much just a wrapper around pmset. Do man pmset to read more about it. It's quite cool.

BIG ASS WARNING!

Closing your lid may block the air vents! DO NOT use this if you plan to have any sort of resources demanding tasks running on your MacBook as it may not cool properly!!! YOU HAVE BEEN WARNED!

I am not responsible for any damages that may occur by using this program! Use at your own risk!

About

A tiny C++ wrapper around pmset to prevent or enable sleeping with the lid closed on MacBooks

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages