dorald / sleeputil

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%