-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathrun-me.sh
124 lines (83 loc) · 4.82 KB
/
run-me.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
printf "################ Setting up things ################\n\n"
printf "Show hidden files\n"
defaults write com.apple.finder AppleShowAllFiles YES
printf "Enable key repeat\n"
defaults write -g ApplePressAndHoldEnabled -bool false
printf "Remove DS_Stores for good"
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
printf "Remove all stupid Dock application\n"
defaults write com.apple.dock static-only -bool TRUE; killall Dock
printf "Auto hide Dock\n"
defaults write com.apple.dock autohide -bool true && defaults write com.apple.dock autohide-delay -float 0 && defaults write com.apple.dock autohide-time-modifier -float 0.8 && killall Dock
printf "\n\nDock\n\n"
printf "Set the icon size of Dock items to 48 pixels\n"
defaults write com.apple.dock tilesize -int 48
printf "Dock: enable magnification\n"
defaults write com.apple.dock magnification -bool false
printf "Set magnification icon size to 80 pixels\n"
defaults write com.apple.dock largesize -float 80
printf "Dock: minimize windows into their applications icon\n"
defaults write com.apple.dock minimize-to-application -bool true
printf "Remove the auto-hiding Dock delay\n"
defaults write com.apple.dock autohide-delay -float 0
printf "Speed up animation when hiding/showing the Dock\n"
defaults write com.apple.dock autohide-time-modifier -float 0.3
printf "Dock: automatically hide and show\n"
defaults write com.apple.dock autohide -bool true
printf "Dock: make icons of hidden applications translucent\n"
defaults write com.apple.dock showhidden -bool false
printf "\n\nScreen\n\n"
printf "Require password immediately after sleep or screen saver begins\n"
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 0
printf "Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)\n"
defaults write com.apple.screencapture type -string "png"
printf "Enable subpixel font rendering on non-Apple LCDs\n"
defaults write NSGlobalDomain AppleFontSmoothing -int 2
printf "\n\nFinder\n\n"
printf "Finder: allow quitting via ⌘ + Q; doing so will also hide desktop icons\n"
defaults write com.apple.finder QuitMenuItem -bool true
printf "Finder: disable window and Get Info animations\n"
defaults write com.apple.finder DisableAllAnimations -bool true
printf "General: Enable icons for hard drives, servers, and removable media on the desktop\n"
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
printf "Finder: show hidden files by default\n"
defaults write com.apple.finder AppleShowAllFiles -bool true
printf "Finder: show all filename extensions\n"
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
printf "Finder: show status bar\n"
defaults write com.apple.finder ShowStatusBar -bool true
printf "Finder: show path bar\n"
defaults write com.apple.finder ShowPathbar -bool true
printf "Finder: allow text selection in Quick Look\n"
defaults write com.apple.finder QLEnableTextSelection -bool true
printf "Finder: display full path as Finder window title\n"
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
printf "When performing a search, search the current folder by default\n"
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
printf "General: enable the warning when changing a file extension\n"
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool true
printf "Finder: enable spring loading for directories\n"
defaults write NSGlobalDomain com.apple.springing.enabled -bool false
printf "Remove the spring loading delay for directories\n"
defaults write NSGlobalDomain com.apple.springing.delay -float 0
printf "General: create .DS_Store files on network volumes\n"
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
printf "Use columns view in all Finder windows by default\n"
printf "Four-letter codes for the other view modes: icnv, Nlsv, Flwv\n"
defaults write com.apple.finder FXPreferredViewStyle -string "clmv"
printf "General: enable the warning before emptying the Trash\n"
defaults write com.apple.finder WarnOnEmptyTrash -bool true
printf "Finder: enable AirDrop over Ethernet and on unsupported Macs running Lion\n"
defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
printf "Show the ~/Library folder\n"
chflags nohidden ~/Library
printf "Use Plain Text Mode as Default\n"
defaults write com.apple.TextEdit RichText -int 0
printf "Full Keyboard Access - All Controls\n"
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
printf "################ 💩 DONE 💩 ################\n\n"