Option to disable KeepingYouAwake after waking from sleep
First off, thanks so much! I love this project.
Sometimes, I'll activate KeepingYouAwake indefinitely while working on something, then manually put my computer to sleep when done.
A few times, I've forgotten to disable KeepingYouAwake when doing this, resulting in my computer accidentally being awake all day.
It'd be cool to have an optional feature where KeepingYouAwake automatically disables itself when a user manually puts the computer to sleep.
While the following doesn't address your suggestion, to avoid your computer to being accidentally awaken all day, you can set the default KYA duration to 2 hours instead of indefinitely. Hope this helps!
I would have to think about how to implement this without confusing existing users. I do a similar thing: I keep my Mac awake indefinitely and sometimes hit the sleep keyboard shortcut, but I also expect KYA to stay activated when I wake my Mac again.