blob: 9600d5e3c53b08dc8c3b02e566a8e6a8c5271abe (
plain)
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
|
{ ... }:
{
system.defaults = {
NSGlobalDomain = {
# Sidebar icon size: medium
NSTableViewDefaultSizeMode = 2;
# Always show scrollbars
AppleShowScrollBars = "Always";
# Expand save panel by default
NSNavPanelExpandedStateForSaveMode = true;
NSNavPanelExpandedStateForSaveMode2 = true;
# Expand print panel by default
PMPrintingExpandedStateForPrint = true;
PMPrintingExpandedStateForPrint2 = true;
# Save to disk (not to iCloud) by default
NSDocumentSaveNewDocumentsToCloud = false;
# Disable auto-correct
NSAutomaticSpellingCorrectionEnabled = false;
# Font smoothing
AppleFontSmoothing = 1;
# Dark appearance
AppleInterfaceStyle = "Dark";
# Show all file extensions
AppleShowAllExtensions = true;
# Disable two-finger swipe for back/forward navigation
AppleEnableSwipeNavigateWithScrolls = false;
# Tap to click, also honoured by the login screen
"com.apple.mouse.tapBehavior" = 1;
# Faster key repeat than the System Settings sliders allow
KeyRepeat = 2;
InitialKeyRepeat = 15;
};
dock = {
# Minimize windows into their application's icon
minimize-to-application = true;
# Show indicator lights for open applications in the Dock
show-process-indicators = true;
# Wipe all default app icons from the Dock
persistent-apps = [ ];
# Wipe the default Downloads stack from the Dock
persistent-others = [ ];
# Smaller Dock icons
tilesize = 34;
# Disable the pinch-to-Launchpad gesture
showLaunchpadGestureEnabled = false;
# Speed up Mission Control animations
expose-animation-duration = 0.1;
# Remove the auto-hiding Dock delay
autohide-delay = 0.0;
# Remove the animation when hiding/showing the Dock
autohide-time-modifier = 0.0;
# Automatically hide and show the Dock
autohide = true;
# Make Dock icons of hidden applications translucent
showhidden = true;
# Don't show recent applications in Dock
show-recents = false;
};
finder = {
# Show status bar
ShowStatusBar = true;
# Show path bar
ShowPathbar = true;
# Search the current folder by default
FXDefaultSearchScope = "SCcf";
# Disable warning when changing a file extension
FXEnableExtensionChangeWarning = false;
# Default to list view
FXPreferredViewStyle = "Nlsv";
# Remove items from the Trash after 30 days
FXRemoveOldTrashItems = true;
};
screencapture = {
# Save screenshots to ~/Screenshots
location = "~/Screenshots";
# Save screenshots as JPG
type = "jpg";
};
trackpad = {
# Enable tap to click for this user and the login screen
Clicking = true;
# Drag windows with three fingers
TrackpadThreeFingerDrag = true;
# Three-finger drag needs the three-finger swipe gestures out of the way
TrackpadThreeFingerHorizSwipeGesture = 0;
TrackpadThreeFingerVertSwipeGesture = 0;
};
ActivityMonitor = {
# Show the main window when launching Activity Monitor
OpenMainWindow = true;
# Visualize CPU usage in the Activity Monitor Dock icon
IconType = 5;
# Show all processes in Activity Monitor
ShowCategory = 100;
# Sort Activity Monitor results by CPU usage
SortColumn = "CPUUsage";
SortDirection = 0;
};
LaunchServices = {
# Disable the "Are you sure you want to open this application?" dialog
LSQuarantine = false;
};
CustomUserPreferences = {
NSGlobalDomain = {
# Text replacements. Declared here, so System Settings edits are
# overwritten on the next rebuild — add new snippets in this list.
NSUserDictionaryReplacementItems = [
{
on = 1;
replace = "ttt";
"with" = "Ting tar tid";
}
{
on = 1;
replace = "ept";
"with" = "Er på toget!";
}
{
on = 1;
replace = "ott";
"with" = "On the train!";
}
{
on = 1;
replace = "epv";
"with" = "Er på vei!";
}
{
on = 1;
replace = "omw";
"with" = "On my way!";
}
];
};
"com.apple.Siri" = {
StatusMenuVisible = false;
VoiceTriggerUserEnabled = false;
};
"com.apple.assistant.support" = {
"Assistant Enabled" = false;
};
"com.apple.TextInputMenu" = {
# Hide the input source menu bar icon
visible = false;
};
"com.apple.controlcenter" = {
# Hide the Shortcuts menu bar icon
"NSStatusItem Visible Shortcuts" = false;
};
"com.apple.print.PrintingPrefs" = {
# Automatically quit printer app once the print jobs complete
"Quit When Finished" = true;
};
"com.apple.desktopservices" = {
# Avoid creating .DS_Store files on network or USB volumes
DSDontWriteNetworkStores = true;
DSDontWriteUSBStores = true;
};
"com.apple.Safari" = {
# Privacy: don't send search queries to Apple
UniversalSearchEnabled = false;
SuppressSearchSuggestions = true;
};
"com.apple.TimeMachine" = {
# Prevent Time Machine from prompting to use new hard drives
DoNotOfferNewDisksForBackup = true;
};
"com.apple.TextEdit" = {
PlainTextEncoding = 4;
PlainTextEncodingForWrite = 4;
};
"com.apple.SoftwareUpdate" = {
AutomaticCheckEnabled = true;
ScheduleFrequency = 1;
AutomaticDownload = 1;
CriticalUpdateInstall = 1;
};
"com.apple.commerce" = {
AutoUpdate = true;
AutoUpdateRestartRequired = true;
};
"com.apple.helpviewer" = {
DevMode = true;
};
"com.apple.BluetoothAudioAgent" = {
"Apple Bitpool Min (editable)" = 40;
};
"com.google.Chrome" = {
# Disable the all too sensitive backswipe on trackpads and Magic Mouse
AppleEnableSwipeNavigateWithScrolls = false;
AppleEnableMouseSwipeNavigateWithScrolls = false;
# Expand the print dialog by default
PMPrintingExpandedStateForPrint2 = true;
};
"com.apple.messageshelper.MessageController" = {
SOInputLineSettings = {
automaticQuoteSubstitutionEnabled = false;
continuousSpellCheckingEnabled = false;
};
};
};
};
}
|