Last active
December 14, 2022 18:38
-
-
Save shinkbr/39e56c39be53b19aea41 to your computer and use it in GitHub Desktop.
Configure the macOS dock
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
#!/usr/bin/env bash | |
# Configure the macOS dock | |
defaults delete com.apple.dock | |
killall Dock | |
sleep 5 | |
defaults write com.apple.dock autohide -bool yes | |
defaults write com.apple.dock minimize-to-application -bool yes | |
defaults write com.apple.dock persistent-apps -array | |
defaults write com.apple.dock show-recents -bool no | |
defaults write com.apple.dock size-immutable -bool yes | |
defaults write com.apple.dock persistent-apps -array | |
killall Dock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment