Skip to content

Keep-awake with lid closed (opt-in, Advanced settings) #262

Open

Description

@faizrazadec

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

  1. pat-mw commented on Sep 30, 2026

    @pat-mw

    need this

  2. nitishkumarpilla-bit commented on Oct 8, 2026

    @nitishkumarpilla-bit

    Need this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions