Easy toggle to stop messing with my music playback :(
Use Case : I play music -> I close my macBook screen -> music stops.
SleepControl lets you toggle between enable [default mac behaviour] or disable sleep behaviour while closing the macBook lid.
PSA's: The physical display still turns off! But your apps stay awake. Note: this has no optimization for battery, standby, etc. It simply toggles off sleep.
You can close the application after toggling on/off. It switches your notebook into a state where shutting the lid doesn't insta-kill everything. Enjoy! Share! Due to 'correct coding practices' it requires the password input every toggle for now. See feature plan below.
Install: directly from GitHub Releases or using homebrew (suggested! keeps it updated) as shown below.
- Preinstallation steps : Homebrew should be installed. Homebrew
Install via terminal in 2 steps :
- PASTE :
brew tap dhr7v/sleepcontrol https://github.com/dhr7v/homebrew-sleep-control.git - PASTE :
brew install --cask dhr7v/sleep-control/sleep-control
Additional Steps (if required) : If you get a Security Warning : Go to System Settings -> Privacy and Security.
After apple freaks out, calm it down like this -
Click Open Anyway.
Launch Sleep Control as usual.
Updating :
To Upgrade to the latest version (if required) -
PASTE : brew upgrade dhr7v/sleep-control/sleep-control
Update :
Rant : I can't believe I can't keep my shit on with the lid closed but I have to click allow 7 times and put my password 4 times to be allowed to use my own app.
Feature Plans :
Working
- Toggle state
- Packaging
- Security Standards
Work in Progress
- UX, UI
- Fingerprint, passwordless toggle