-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-macos
executable file
·41 lines (27 loc) · 1.41 KB
/
setup-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
SCREENSHOTS_DIR=~/Screenshots
mkdir -p $SCREENSHOTS_DIR
# -----------------------------------------------------------------------------
# General
# -----------------------------------------------------------------------------
# Always display the percentage of battery
defaults write com.apple.menuextra.battery ShowPercent -string "YES"
# -----------------------------------------------------------------------------
# Screen capture
# -----------------------------------------------------------------------------
# CTRL + Shift + F5 > Options > Other Location...
defaults write com.apple.screencapture location $SCREENSHOTS_DIR
# -----------------------------------------------------------------------------
# Dock
# -----------------------------------------------------------------------------
# System Preferences > Dock > Minimize windows into application icon
defaults write com.apple.dock minimize-to-application -bool true
# System Preferences > Dock > Automatically hide and show the Dock:
defaults write com.apple.dock autohide -bool true
# System Preferences > Dock > Size (magnified):
defaults write com.apple.dock largesize -int 92
# System Preferences > Dock > Show recent applications in Dock
defaults write com.apple.dock show-recents -bool FALSE
# Configure the hot corners
defaults write com.apple.dock wvous-tr-corner -int 13
# disable keychain
defaults write org.gpgtools.common DisableKeychain -bool yes