# Rearrange automatically

Choose whether to rearrange Spaces automatically.

  • Tested on macOS:
    • Big Sur
    • Catalina
    • Mojave
  • Parameter type: bool

# Set to true (default value)

defaults write com.apple.dock mru-spaces -bool true && killall Dock
  • Do reorder Spaces based on most recent use

# Set to false

defaults write com.apple.dock mru-spaces -bool false && killall Dock
  • Keep the Spaces arrangement

# Read current value

defaults read com.apple.dock mru-spaces

# Delete current value

defaults delete com.apple.dock mru-spaces && killall Dock