Skip to content

Add a keep awake toggle (mouse jiggler) to the menu bar app - #7

Merged
enso-works merged 4 commits into
claude-profilesfrom
keep-awake
Oct 22, 2026
Merged

enso-works merged 4 commits into
claude-profilesfrom
keep-awake

Conversation

@enso-works

Copy link
Copy Markdown
Owner

Stacked on #6 (shares the Unreleased CHANGELOG section). Merge #6 first; GitHub retargets this to main.

  • Jiggler.swift: while on, holds a PreventUserIdleDisplaySleep assertion and checks idle time every 20s. After 50s without input it posts a one-point mouse move and back, so Teams and Slack keep you active, and declares user activity as a backup. The nudge needs Accessibility access, requested when the toggle is first turned on (not on relaunch); without it only the assertion runs.
  • Cup button in the popover header next to Refresh; the menu bar icon becomes a cup while on (flame and error icons still win). State persists across launches.
  • Verified: the assertion shows in pmset -g assertions while on and is released on quit.

Blog post: enso-works/bavrk#89 (merge that after this ships in a release).

@enso-works
enso-works merged commit 1c0b63c into claude-profiles Oct 22, 2026
1 of 2 checks passed
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