Repository navigation
feat(macos): follow Reduce Motion and Low Power Mode - #4
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
99c1b9e to
0553be5
Compare
- Reduce Motion: the slides of pages and menus become short fades, the lyrics jump to the current line, and the equalizer stands still. Spinners keep turning; they show progress, which Apple's guidance keeps. - Low Power Mode: no animations and an instant accent color. The timer ticks every 100 ms instead of 25 ms, and a playing track redraws once a second instead of eight times. Idle on Home, cloofy woke the Mac about a quarter as often in a test. cloofy-os reads both settings and the TUI checks them every few seconds, so changes apply without a restart. Elsewhere both read as off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8498fe1 to
5e9aeac
Compare
0553be5 to
782b840
Compare
|
Merged through #7, unchanged. Fixed on top:
Page transitions are no longer a sweep at all (the audit work replaced it with a short fade), so Reduce Motion needs nothing there. 🤖 Generated with Claude Code |
Stacked on #3.
What changes
Reduce Motion (System Settings → Accessibility → Display):
Low Power Mode:
cloofy-os::settings::current()readsNSWorkspace.accessibilityDisplayShouldReduceMotionandNSProcessInfo.isLowPowerModeEnabled(guarded withavailable!(macos = 12.0)). The TUI checks them every 3 s, so toggling either applies without a restart. On other systems both read as off.Verified
low_powerwith a temporary patch (not committed) and measured the idle TUI with/usr/bin/top: 19 → 5 idle wakeups per 2 s sample. CPU barely changes when idle (4.7% → 4.4%, debug build). I couldn't measure the saving while playing without playing audio here.defaultsandpmset).To test by hand
.menu fades instead of sliding; lyrics inzjump line by line🤖 Generated with Claude Code