-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathosx
executable file
·45 lines (32 loc) · 1.69 KB
/
osx
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
# Enable full keyboard access for all controls
# defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
# disable the DS_Store network files on every folder
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
# Disable press-and-hold for keys in favor of key repeat
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
# defaults write NSGlobalDomain KeyRepeat -int 0
# defaults write NSGlobalDomain InitialKeyRepeat -int 4
# Finder: show hidden files by default
# defaults write com.apple.finder AppleShowAllFiles -bool true
# set the dark theme, requires restart
defaults write NSGlobalDomain AppleInterfaceStyle -string "Dark"
echo "OSX Dark Theme set, Please log off to enable it"
# show the date and time in 24-hour on the osx menu
# defaults write com.apple.menuextra.clock DateFormat -string "EEE d MMM HH:mm"
# echo "OSX Menu bar now shows date and time in 24 hours"
# Set desktop as the bottom left hotcorner
# defaults write com.apple.dock wvous-bl-corner -int 4
# defaults write com.apple.dock wvous-bl-modifier -int 0
# echo "Bottom Left - Hot corner configured to Desktop"
# Minimize windows into their application’s icon
defaults write com.apple.dock minimize-to-application -bool true
# Show indicator lights for open applications in the Dock
defaults write com.apple.dock show-process-indicators -bool true
# Don’t show Dashboard as a Space
defaults write com.apple.dock dashboard-in-overlay -bool true
# Finder: show all filename extensions
# defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# Finder: show path bar
# defaults write com.apple.finder ShowPathbar -bool true
echo "Reloading Dock and Finder!"
killall Dock; killall SystemUIServer