News for hackers. Stuff that matters.
Re:Closing your MacBook hardware disconnects microphone, saf... by x3n0ph3n3 on Tuesday March 07, 2023 @01:37PM (#35059231)
Check out Sleepwatcher [1]. I have ~/.sleep and ~/.wakeup defined to disable and enable bluetooth.

~/.sleep: /opt/homebrew/bin/blueutil -p 0

~/.wakeup /opt/homebrew/bin/blueutil -p 1

1. https://formulae.brew.sh/formula/sleepwatcher

There are no comments on this comment yet.