Tag Homebrew

MacOS Trigger on Sleep/Wake Event

Initially some time in 2020 I was looking for a way to trigger some custom actions when I put my Macbook Pro to sleep. I found someone asked this same question in 2011 on Apple Stake Exchange The best answer,…