Skip to content

Switch to Allow Sleep mode when screen is locked#1

Open
dmtrkzntsv wants to merge 2 commits intoalexrett:mainfrom
dmtrkzntsv:main
Open

Switch to Allow Sleep mode when screen is locked#1
dmtrkzntsv wants to merge 2 commits intoalexrett:mainfrom
dmtrkzntsv:main

Conversation

@dmtrkzntsv
Copy link
Copy Markdown

Listen for com.apple.screenIsLocked distributed notification and automatically stop sleep prevention when the computer is locked.

dmtrkzntsv and others added 2 commits March 20, 2026 20:41
Listen for com.apple.screenIsLocked distributed notification and
automatically stop sleep prevention when the computer is locked.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remember whether prevention was active before lock and automatically
resume it when the screen is unlocked.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant