Skip to content

hammerspoon: add an animated caffeine HUD - #75

Merged
cmpadden merged 4 commits into
mainfrom
hammerspoon/caffeine-island
Nov 24, 2026
Merged

cmpadden merged 4 commits into
mainfrom
hammerspoon/caffeine-island

Conversation

@cmpadden

@cmpadden cmpadden commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Use a shared matte canvas HUD for “Caffeine Enabled”, “Caffeine Disabled”, and “Hammerspoon Reloaded”. Top placement pulls a liquid capsule from the screen edge; bottom placement keeps the simpler expansion. Rapid toggles reuse the same capsule and Reduce Motion uses a fade.
  • Keep the native glass toast renderer generic and available for standalone previews.
  • Restore hot reload for Stow-managed configs by watching the resolved source directory.

Validation

  • Native build, glass geometry tests, Lua toast wrapper tests, and Swift/Lua formatting checks passed.
  • Previewed the top-edge pull, pinch, and release in slow motion. Verified shared reload and caffeine feedback without changing display sleep, and confirmed real hot reload on a checkout file change.
  • make lint remains blocked locally by missing shellcheck and a pre-existing formatting issue in the unrelated working-tree bash/.bash_profile (not included in this PR).

@cmpadden
cmpadden merged commit 78a953c into main Nov 24, 2026
1 check passed
@cmpadden
cmpadden deleted the hammerspoon/caffeine-island branch November 24, 2026 19:38
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