# Active applications only

Only show opened apps in Dock.

  • Tested on macOS:
    • Monterey
  • Parameter type: bool

# Set to true

Only show active apps

defaults write com.apple.dock "static-only" -bool "true" && killall Dock

# Set to false (default value)

Hide inactive apps from the Dock

defaults write com.apple.dock "static-only" -bool "false" && killall Dock

# Read current value

defaults read com.apple.dock "static-only"

# Reset to default value

defaults delete com.apple.dock "static-only" && killall Dock