forked from Wyvern/macos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacOS
69 lines (58 loc) · 3.18 KB
/
macOS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Disable animations and visual effects
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false
defaults write -g NSWindowResizeTime -float 0.001
defaults write -g NSToolbarFullScreenAnimationDuration -float 0
defaults write -g NSToolbarTitleViewRolloverDelay -float 0
defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false
defaults write -g QLPanelAnimationDuration -float 0
defaults write -g NSScrollAnimationEnabled -bool false
defaults write -g NSBrowserColumnAnimationSpeedMultiplier -float 0
defaults write -g NSScrollViewRubberbanding -bool false
defaults write com.apple.finder DisableAllAnimations -bool true
defaults write com.apple.finder AnimateInfoPanes -bool false
defaults write com.apple.finder AnimateSnapToGrid -bool false
defaults write com.apple.finder FXEnableSlowAnimation -bool false
defaults write com.apple.finder QLEnableSlowMotion -bool false
defaults write com.apple.dock expose-animation-duration -float 0
defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES
defaults write com.apple.dock launchanim -bool false
defaults write com.apple.dock workspaces-edge-delay -float 0
defaults write com.apple.dock autohide-time-modifier -float 0
defaults write com.apple.dock autohide-delay -float 0
defaults write com.apple.dock springboard-show-duration -float 0
defaults write com.apple.dock springboard-hide-duration -float 0
defaults write com.apple.dock sopringboard-page-duration -float 0
# Disable transparency
defaults write com.apple.universalaccess reduceTransparency -bool true
# Optimize Mail.app animations
defaults write com.apple.Mail DisableSendAnimations -bool true
defaults write com.apple.Mail DisableReplyAnimations -bool true
# Optimize Safari
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.1
defaults write com.apple.Safari WebKitResourceTimedLayoutDelay 0.1
# System optimizations
sudo nvram BootAudio=%00
sudo nvram StartupMute=%01
defaults write com.apple.CrashReporter DialogType none
# Finder optimizations
defaults write com.apple.finder AppleShowAllFiles true
defaults write com.apple.finder ShowStatusBar -bool true
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
# Network optimizations
defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
sudo defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist ProgramArguments -array-add "-NoMulticastAdvertisements"
# Disable verification dialogs
defaults write com.apple.LaunchServices LSQuarantine -bool false
# Disable disk image verification
defaults write com.apple.frameworks.diskimages skip-verify -bool true
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
# Change screenshot format to HEIC for better compression
defaults write com.apple.screencapture type heic;killall SystemUIServer
# Disable Spotlight indexing for some locations
sudo mdutil -i off -a # Disable indexing
sudo mdutil -i on -a # Enable indexing
sudo mdutil -d /System/Volumes/Preboot /opt # Disable specific paths
# Disable Gatekeeper
sudo spctl --master-disable