# Active applications only
Only show opened apps in Dock.
⚠️ Beware this command empties your 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)
Show apps pinned to 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