Based on [this post](https://apple.stackexchange.com/questions/265501/how-do-i-disable-auto-swoosh-automatic-space-switching-in-macos-sierra): ```shell defaults write com.apple.Dock workspaces-auto-swoosh -bool NO defaults write -g AppleSpacesSwitchOnActivate -bool false killall Dock ```