Parth KabraMac

Show/Hide the Dock instantly

May 2022 · Showing and hiding dock instantly

To show and hide the dock instantly, open Terminal and run:

defaults write com.apple.dock autohide-delay -float 0 && defaults write com.apple.dock autohide-time-modifier -float 0 && killall Dock

To get back the default animation and delay before showing the dock, run:

defaults delete com.apple.dock autohide-delay && defaults delete com.apple.dock autohide-time-modifier && killall Dock

This works on M1 macs on macOS 12.0 Monterey.