From 983edb58b07f9ed0b9748d006f40cb8896775f8a Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 8 Dec 2025 08:54:27 -0700 Subject: [PATCH 1/2] Disable drag to edge window tiling --- script/lib/macos.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/lib/macos.sh b/script/lib/macos.sh index 58ff5e01..ac4a0c98 100644 --- a/script/lib/macos.sh +++ b/script/lib/macos.sh @@ -121,6 +121,10 @@ function macos::setup_screen() { # Enable HiDPI display modes (requires restart) sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool true + + # Disable drag to edge window tiling + defaults write com.apple.WindowManager EnableTilingByEdgeDrag -bool false + defaults write com.apple.WindowManager EnableTopTilingByEdgeDrag -bool false } function macos::setup_ui_ux() { From 0ac19d0d3cd6efe858c4bd30d690875e4900aae5 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 8 Dec 2025 09:41:06 -0700 Subject: [PATCH 2/2] Remove `-kill` flag (evidently removed by Apple??) --- script/lib/macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/lib/macos.sh b/script/lib/macos.sh index ac4a0c98..7e215b39 100644 --- a/script/lib/macos.sh +++ b/script/lib/macos.sh @@ -169,7 +169,7 @@ function macos::setup_ui_ux() { defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true # Remove duplicates in the “Open With” menu (also see `lscleanup` alias) - /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user + /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -r -domain local -domain system -domain user # Display ASCII control characters using caret notation in standard text views # Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt`