I am aware of the options suggested in Possible to run scripts on sleep and wake?.
I am ideally looking for a native option that doesn’t require installing a third-party app or binary.
The closest I found is SleepWatcher but it requires installing a third-party binary using brew install sleepwatcher
.
Thanks!