Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Respect the window tiling spacing set in com.apple.WindowManager #666

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

zenangst
Copy link
Contributor

@zenangst zenangst commented Jan 9, 2025

In macOS Sequoia, you can tweak the spacing around windows. The key is TiledWindowSpacing.

I also bumped up the default from 8 to 9 (I think that's right based on my testing).

If you want to give it a shot, just run these commands.

defaults write com.apple.WindowManager EnableTiledWindowMargins -bool false; 
defaults write com.apple.WindowManager TiledWindowSpacing -float 16; 
defaults write com.apple.WindowManager EnableTiledWindowMargins -bool true;

Note
Toggling EnableTiledWindowMargins will move the windows you already have tiled. So, you don't need to restart the WindowManager to make the change.

@zenangst zenangst changed the title Respect the window tiling spacing set in com.apple.WindowManager. Respect the window tiling spacing set in com.apple.WindowManager Jan 9, 2025
Copy link
Owner

@MrKai77 MrKai77 left a comment

Choose a reason for hiding this comment

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

Great find! I made the small change of separating EnableTiledWindowMargins and TiledWindowSpacing, just in case we make this configurable from Loop in the future, but otherwise looked perfect!

@MrKai77 MrKai77 merged commit e58933a into MrKai77:develop Jan 10, 2025
1 check passed
@MrKai77 MrKai77 changed the title Respect the window tiling spacing set in com.apple.WindowManager ✨ Respect the window tiling spacing set in com.apple.WindowManager Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants