Created
April 19, 2023 20:55
-
-
Save gallo-s-chingon/24d63c55976f36c1e1478acf9f47b7fa to your computer and use it in GitHub Desktop.
change macOS dock defaults
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
# hide Dock faster | |
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock | |
# add Dock spacer | |
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' && killall Dock | |
# add Dock half spacer | |
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}' && killall Dock | |
# disable eject warning | |
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.DiskArbitration.diskarbitrationd.plist DADisableEjectNotification -bool YES && sudo pkill diskarbitrationd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment