Skip to content

Instantly share code, notes, and snippets.

@alireza-ahmadi
Last active August 12, 2016 10:20
Show Gist options
  • Save alireza-ahmadi/a6104a7510fe42f08d791634c029dda1 to your computer and use it in GitHub Desktop.
Save alireza-ahmadi/a6104a7510fe42f08d791634c029dda1 to your computer and use it in GitHub Desktop.

My defaults write options

[Decrease dock's auto-hide delay]
defaults write com.apple.dock autohide-delay -float 0 && defaults write com.apple.dock autohide-time-modifier -float 0 && killall Dock
defaults delete com.apple.dock autohide-delay && defaults delete com.apple.dock autohide-time-modifier && killall Dock

[Speed up mission control animations]
defaults write com.apple.dock expose-animation-duration -float 0.12 && killall Dock
defaults delete com.apple.dock expose-animation-duration && killall Dock

[Add a blank space to dock]
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' && killall Dock

[Screenshot without window shadow]
defaults write com.apple.screencapture disable-shadow -bool true && killall SystemUIServer
defaults write com.apple.screencapture disable-shadow -bool false && killall SystemUIServer

[Enable Appstore debug menu]
defaults write com.apple.appstore ShowDebugMenu -bool true
defaults delete com.apple.appstore ShowDebugMenu

[Disable automatically rearrange Spaces based on recent use]
defaults write com.apple.dock mru-spaces -bool false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment