Skip to content

Add macOS defaults for focus ring and scrolling - #305

Merged
arran4 merged 2 commits into
mainfrom
macos-defaults-focus-scroll-5773033735420095495
Jul 8, 2026
Merged

Add macOS defaults for focus ring and scrolling#305
arran4 merged 2 commits into
mainfrom
macos-defaults-focus-scroll-5773033735420095495

Conversation

@arran4

@arran4 arran4 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Added macOS default commands to disable focus ring animation, comment for smooth scrolling, and increase window resize speed based on user request.


PR created automatically by Jules for task 5773033735420095495 started by @arran4

Added commands to disable the over-the-top focus ring animation, commented out command to disable smooth scrolling, and increased window resize speed for Cocoa applications.
These changes are applied to both `.chezmoiscripts/run_once_macos-defaults.sh.tmpl` (with logging) and `dot_local/bin/macos_defaults.sh`.

Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds macOS system defaults configurations to disable the focus ring animation, disable smooth scrolling (commented out), and increase window resize speed for Cocoa applications in both .chezmoiscripts/run_once_macos-defaults.sh.tmpl and dot_local/bin/macos_defaults.sh. The review feedback recommends documenting that these NSGlobalDomain changes require a logout or system restart to take full effect, and suggests replacing curly apostrophes with straight ASCII apostrophes in comments to avoid potential encoding issues.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment on lines +173 to +174
# Disable the over-the-top focus ring animation
defaults write NSGlobalDomain NSUseAnimatedFocusRing -bool false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Changes to NSGlobalDomain (such as NSUseAnimatedFocusRing and NSWindowResizeTime) apply system-wide and generally require a logout/login or system restart to take full effect across all applications, rather than just restarting Dock, Finder, and SystemUIServer. It would be helpful to document this in the comments so users know why the changes might not be immediately visible.

# Disable the over-the-top focus ring animation (requires logout/restart to apply system-wide)
defaults write NSGlobalDomain NSUseAnimatedFocusRing -bool false

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Changes to NSGlobalDomain (such as NSUseAnimatedFocusRing and NSWindowResizeTime) apply system-wide and generally require a logout/login or system restart to take full effect across all applications, rather than just restarting Dock, Finder, and SystemUIServer. It would be helpful to document this in the comments so users know why the changes might not be immediately visible.

# Disable the over-the-top focus ring animation (requires logout/restart to apply system-wide)
defaults write NSGlobalDomain NSUseAnimatedFocusRing -bool false

@jules

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added note about logout/restart requirement to the comment.

Comment thread .chezmoiscripts/run_once_macos-defaults.sh.tmpl Outdated
Comment thread .chezmoiscripts/run_once_macos-defaults.sh.tmpl Outdated
Comment thread dot_local/bin/macos_defaults.sh Outdated
Comment thread dot_local/bin/macos_defaults.sh Outdated
Comment thread dot_local/bin/macos_defaults.sh Outdated
- Updated comments for `NSUseAnimatedFocusRing` and `NSWindowResizeTime` to note that they require a logout/restart to apply system-wide.
- Replaced a curly apostrophe with a straight ASCII apostrophe in the smooth scrolling comment to avoid potential encoding issues.
- Applied these changes to both `.chezmoiscripts/run_once_macos-defaults.sh.tmpl` and `dot_local/bin/macos_defaults.sh`.

Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
@arran4
arran4 merged commit 5916b10 into main Jul 8, 2026
9 checks passed
@arran4
arran4 deleted the macos-defaults-focus-scroll-5773033735420095495 branch July 8, 2026 12:07
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