-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.macos
38 lines (26 loc) · 1.16 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
#!/usr/bin/env bash
#
# Set MacOS specific options
# Show User Library
chflags nohidden ~/Library/
# Add Quit option to Finder
defaults write com.apple.finder QuitMenuItem -bool true && killall Finder
# Set the icon size of Dock items
defaults write com.apple.dock tilesize -int 30 && killall Dock
# Reduce Transparency
sudo defaults write com.apple.universalaccess reduceTransparency -bool true
# Disable the Dashboard
defaults write com.apple.dashboard mcx-disabled -boolean YES && killall Dock
# Disable Sudden Motion Sensor
sudo pmset -a sms 0
##################
# 3rd Party Apps
##################
# Forklift 3 - https://binarynights.com
# Set ForkLift as default file viewer instead of Finder
defaults write -g NSFileViewer -string com.binarynights.ForkLift-3
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType="public.folder";LSHandlerRoleAll="com.binarynights.ForkLift-3";}'
# iTerm2 - https://iterm2.com/
# Set iTerm preferences location
defaults write com.googlecode.iterm2 "PrefsCustomFolder" -string "/Users/bert/.config"
defaults write com.googlecode.iterm2 "LoadPrefsFromCustomFolder" -bool true