-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup-macos.sh
57 lines (38 loc) · 1.81 KB
/
setup-macos.sh
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
# System Preferences > General > Appearance
defaults write -globalDomain AppleInterfaceStyleSwitchesAutomatically -bool true
# System Preferences > General > Click in the scrollbar to: Jump to the spot that's clicked
defaults write -globalDomain AppleScrollerPagingBehavior -bool true
# System Preferences > General > Sidebar icon size: Medium
defaults write -globalDomain NSTableViewDefaultSizeMode -int 2
# # # # # # # # # #
# System Preferences > Dock > Size:
defaults write com.apple.dock tilesize -int 36
# System Preferences > Dock > Minimize windows into application icon
defaults write com.apple.dock minimize-to-application -bool true
# System Preferences > Dock > Animate opening applications
defaults write com.apple.dock launchanim -bool true
# System Preferences > Dock > Set dock orientation to the right
defaults write com.apple.dock orientation -string "right"
# System Preferences > Dock > Hide recent items
defaults write com.apple.dock show-recents -bool false
# # # # # # # # # #
# System Preferences > Keyboard >
defaults write NSGlobalDomain KeyRepeat -int 2
# System Preferences > Keyboard >
defaults write NSGlobalDomain InitialKeyRepeat -int 15
# # # # # # # # # #
# Finder > Preferences > Show all filename extensions
# defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# Finder > Preferences > Show wraning before changing an extension
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# Finder > View > As List
defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv"
# Finder > View > Show Path Bar
defaults write com.apple.finder ShowPathbar -bool true
# # # # # # # # # #
# Kill affected apps
for app in "Dock" "Finder"; do
killall "${app}" >/dev/null 2>&1
done
# Done
echo "Done. Note that some of these changes require a logout/restart to take effect."