-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexecutable_setup-macos.sh
More file actions
99 lines (66 loc) · 3.48 KB
/
executable_setup-macos.sh
File metadata and controls
99 lines (66 loc) · 3.48 KB
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
################################################################################
# System Preferences > Sound
################################################################################
# Play feedback when volume is changed
defaults write -globalDomain "com.apple.sound.beep.feedback" -int 1
################################################################################
# System Preferences > General > Language & Region
################################################################################
defaults write ".GlobalPreferences_m" AppleLanguages -array en-CA ru-RU
defaults write -globalDomain AppleLanguages -array en-CA ru-RU
################################################################################
# System Preferences > Control Centre
################################################################################
# Menu Bar Only > Spotlight > Don't Show in Menu Bar
defaults -currentHost write com.apple.Spotlight MenuItemHidden -int 1
################################################################################
# System Preferences > Siri & Spotlight
################################################################################
#Ask Siri
defaults write com.apple.Siri SiriPrefStashedStatusMenuVisible -bool false
defaults write com.apple.Siri VoiceTriggerUserEnabled -bool false
################################################################################
# System Preferences > Desktop & Dock
################################################################################
# Dock > Size:
defaults write com.apple.dock tilesize -int 36
# Dock > Automatically hide and show the Dock
defaults write com.apple.dock autohide -bool true
# Dock > Automatically hide and show the Dock (duration)
defaults write com.apple.dock autohide-time-modifier -float 0.4
# Dock > Automatically hide and show the Dock (delay)
defaults write com.apple.dock autohide-delay -float 0
# Show recent applications in Dock
defaults write com.apple.dock "show-recents" -bool false
# Windows & Apps > Prefer tabs when opening documents
defaults write -globalDomain AppleWindowTabbingMode -string "always"
# Orientation along left side of screen
defaults write com.apple.dock orientation -string left
################################################################################
# System Preferences > Keyboard
################################################################################
# Key repeat rate
# defaults write NSGlobalDomain KeyRepeat -int 1
# Delay until repeat
# defaults write NSGlobalDomain InitialKeyRepeat -int 10
# Keyboard navigation
# defaults write -globalDomain AppleKeyboardUIMode -int 2
# Txt Input > Add full stop with double-space
defaults write -globalDomain NSAutomaticPeriodSubstitutionEnabled -bool false
################################################################################
# Finder > Preferences
################################################################################
# Show all filename extensions
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# 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."