-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacos-defaults.sh
executable file
·32 lines (26 loc) · 1.04 KB
/
macos-defaults.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
#!/usr/bin/env sh
set -ex
osascript -e 'tell application "System Preferences" to quit'
# Keyboard
defaults write -g InitialKeyRepeat -int 15
defaults write -g KeyRepeat -int 2
defaults write -g ApplePressAndHoldEnabled -bool false
# Menu bar
defaults write -g _HIHideMenuBar -bool true
# Dock
defaults write com.apple.dock orientation right
defaults write com.apple.dock autohide -bool true
defaults write com.apple.dock tilesize -int 64
defaults write com.apple.dock magnification -bool false
defaults write com.apple.dock show-process-indicators -bool false
defaults write com.apple.dock show-recents -bool false
defaults write com.apple.dock static-only -bool true
defaults write com.apple.dock minimize-to-application -bool true
defaults write com.apple.dock mineffect scale
defaults write com.apple.dock launchanim -bool false
# Finder
defaults write com.apple.finder CreateDesktop -bool false
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
defaults write com.apple.finder _FXSortFoldersFirst -bool true
killall Dock
killall Finder