Created
October 29, 2023 13:32
-
-
Save sukhikh18/df8c74f8370cce2c1f4ad4cc29855e34 to your computer and use it in GitHub Desktop.
How to stop bluetooth on sleep in macbook m1?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install sleepwatcher blueutil | |
echo "$(which blueutil) -p 0" > ~/.sleep | |
echo "$(which blueutil) -p 1" > ~/.wakeup | |
chmod 755 ~/.sleep ~/.wakeup | |
brew services restart sleepwatcher |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment