-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.macos
44 lines (31 loc) · 1.51 KB
/
.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
42
43
44
# author: lucas
# =============== General ===============
# disable automatic space rearrangement
defaults write com.apple.dock mru-spaces -bool false
# disable space switching when opening new applications
defaults write com.apple.dock workspaces-auto-swoosh -boolean NO
# automatically quit printer app once the print jobs complete
defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true
# auto hide the menu bar
defaults write NSGlobalDomain _HIHideMenuBar -bool true
# expand the save/print area
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint2 -bool true
# clear dock
defaults delete com.apple.dock persistent-apps
defaults delete com.apple.dock persistent-others
killall Dock
# don't show recent applications in dock
defaults write com.apple.dock show-recents -bool false
# hide the dock automatically
defaults write com.apple.dock autohide -bool true
# =============== Mouse / Keyboard ===============
# set speedy keyboard repeats
defaults write -g ApplePressAndHoldEnabled -bool false
defaults write -g InitialKeyRepeat -int 10 # broken?
defaults write -g KeyRepeat -int 1 # broken?
# =============== Applications ===============
# disabled automatically opening Photos upon device plugin
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true