You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep-awake with lid closed (opt-in, Advanced settings) #262
Hi @newmarcel, I've been using KYA for a while now and it's really helpful. However, I noticed it doesn't work with the lid closed, because KYA uses caffeinate and caffeinate doesn't support that.
I found a way to wrap pmset disablesleep in code. It requires root whenever it's toggled on, but it works well. It would be opt-in, under an Advanced section in Settings, and off by default.
I've tested it on my Mac and it works, and I'd like to make it available to the rest of the community. Before opening a PR, I wanted to ask whether this is something you'd be open to. If not, no worries, I'll put my time into something else.
Activity
pat-mw commentedon Sep 30, 2026
need this
nitishkumarpilla-bit commentedon Oct 8, 2026
Need this