triston-notes/Cards/dev/Disable dock anims.md

17 lines
349 B
Markdown
Raw Normal View History

2023-10-21 23:52:54 +00:00
up:: [[Terminal]]
tags::
# Disable/Enable Dock Animation
### Disable Dock Animation
```zsh
defaults write com.apple.dock "autohide-delay" -float 0;
defaults write com.apple.dock "autohide-time-modifier" -int 0;
killall Dock
```
### Enable Dock Animation
```zsh
defaults write com.apple.dock "autohide-time-modifier" -float "0.5";
killall Dock
```