diff --git a/script/lib/macos.sh b/script/lib/macos.sh index 58ff5e01..7e215b39 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() { @@ -165,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`