Last active
May 21, 2021 13:03
-
-
Save daslicht/05e7b6038d5518e5265fe41d83c36071 to your computer and use it in GitHub Desktop.
Toggle macOS dock behaviour, (increase hidden autohide show delay)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ "$(defaults read com.apple.dock autohide)" -eq "1" ]]; then | |
# Restore Dock | |
defaults write com.apple.dock autohide -bool false && killall Dock | |
defaults delete com.apple.dock autohide-delay && killall Dock | |
defaults write com.apple.dock no-bouncing -bool FALSE && killall Dock | |
exit | |
fi | |
# Hide Dock | |
defaults write com.apple.dock autohide -bool true && killall Dock | |
defaults write com.apple.dock autohide-delay -float 1000 && killall Dock | |
defaults write com.apple.dock no-bouncing -bool TRUE && killall Dock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see: https://apple.stackexchange.com/questions/59556/is-there-a-way-to-completely-disable-dock/59558#59558