From dc8bfe00a794ee021727934159f369e962794f69 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Mon, 12 Aug 2024 10:10:58 +0200 Subject: [PATCH] chore(mac): add more default settings --- bin/macos-settings | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/macos-settings b/bin/macos-settings index 4457129..1cf8cd2 100755 --- a/bin/macos-settings +++ b/bin/macos-settings @@ -144,6 +144,9 @@ defaults write com.apple.dock launchanim -bool false # Speed up Mission Control animations defaults write com.apple.dock expose-animation-duration -float 0.1 +# Group windows by application in Mission Control +defaults write com.apple.dock "expose-group-apps" -bool "true" + # Don’t automatically rearrange Spaces based on most recent use defaults write com.apple.dock mru-spaces -bool false @@ -153,6 +156,9 @@ defaults write com.apple.dock autohide-delay -float 0 # Remove the animation when hiding/showing the Dock defaults write com.apple.dock autohide-time-modifier -float 0 +# Disable Display have separate Spaces +defaults write com.apple.spaces "spans-displays" -bool "true" + # Automatically hide and show the Dock defaults write com.apple.dock autohide -bool true @@ -208,6 +214,9 @@ defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightC defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1 defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true +# Move windows by dragging any part of the window (ctrl + cmd) +defaults write -g NSWindowShouldDragOnGesture YES + for app in "Dock" \ "Finder" \ "Messages" \