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

Add EnableTiledWindowMargins #1196

Closed
wants to merge 1 commit into from
Closed

Conversation

NickBouwhuis
Copy link

macOS Sequoia introduced window tiling. By default, tiled windows have margins.

Margins can be disabled through System Settings > Desktop & Dock > Tiled windows have margins (under 'Windows').

This sets com.apple.WindowManager.EnableTiledWindowMargins to 0

➜  ~ defaults read com.apple.WindowManager
{
    AppWindowGroupingBehavior = 1;
    AutoHide = 0;
    EnableTiledWindowMargins = 0;
    EnableTilingByEdgeDrag = 0;
    EnableTilingOptionAccelerator = 0;
    EnableTopTilingByEdgeDrag = 0;
    HasDisplayedShowDesktopEducation = 1;
    HideDesktop = 1;
    "LastHeartbeatDateString.daily" = "2024-11-24T17:11:47Z";
    StageManagerHideWidgets = 0;
    StandardHideWidgets = 0;
}

You can also disable it by issuing this command

~ defaults write com.apple.WindowManager EnableTiledWindowMargins -bool false

Adding this options allows Nix-Darwin users to set this option declaratively.

@NickBouwhuis
Copy link
Author

I see there is another pull request for this. Should have looked before I submitted this. Sorry!

@NickBouwhuis NickBouwhuis deleted the patch-1 branch November 25, 2024 08:54
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