|
# アピアランスをブルーに |
|
defaults write -g AppleAquaColorVariant -int 1 |
|
|
|
# メニューバーと Dock を暗くする |
|
defaults write -g AppleInterfaceStyle -string "Dark" |
|
|
|
# 強調表示色をブルーに |
|
defaults write -g AppleHighlightColor -string "0.764700 0.976500 0.568600" |
|
|
|
# サイドバーのアイコンサイズを中に |
|
defaults write -g NSTableViewDefaultSizeMode -int 1 |
|
|
|
# スクロールバーは自動表示に任せる |
|
defaults write -g AppleShowScrollBars -string "Automatic" |
|
|
|
# スクロールバーのクリック時にクリックされた場所へジャンプ |
|
defaults write -g AppleScrollerPagingBehavior -bool true |
|
|
|
# 使用可能な場合は LCD で滑らかな文字を使用 |
|
defaults -currentHost write -g AppleFontSmoothing -int 0 |
|
|
|
# 「ライブラリ」を常時表示 |
|
chflags nohidden ~/Library |
|
|
|
### Dock ### |
|
|
|
# デフォルトサイズを64pxに |
|
defaults write com.apple.dock tilesize -int 64 |
|
|
|
# 拡大をONにして128pxに拡大 |
|
defaults write com.apple.dock magnification -bool true |
|
defaults write com.apple.dock largesize -int 128 |
|
|
|
# 下に表示する |
|
defaults write com.apple.dock orientation -string "bottom" |
|
|
|
# 自動的に隠す |
|
defaults write com.apple.dock autohide -bool true |
|
|
|
# スケールエフェクトにする |
|
defaults write com.apple.dock mineffect -string "scale" |
|
|
|
# ダブルクリックでしまう |
|
defaults write -g AppleMiniaturizeOnDoubleClick -bool true |
|
|
|
# ウィンドウをアプリケーションアイコンにしまう |
|
defaults write com.apple.dock minimize-to-application -bool true |
|
|
|
# 起動中アプリをジャンプ表示 |
|
defaults write com.apple.dock launchanim -bool false |
|
|
|
# インジケータを表示 |
|
defaults write com.apple.dock show-process-indicators -bool true |
|
|
|
|
|
### MissionControl / Dashboard ### |
|
|
|
# 並べ替えはしない |
|
defaults write com.apple.dock mru-spaces -bool false |
|
|
|
# アプリの開いているスペースに移動 |
|
defaults write -g AppleSpacesSwitchOnActivate -bool true |
|
|
|
# グループ化する |
|
defaults write com.apple.dock expose-group-by-app -bool true |
|
|
|
# ディスプレイごとに個別の操作スペースを設定 |
|
defaults write com.apple.spaces spans-displays -bool true |
|
|
|
# DashboardをOFFにする |
|
defaults write com.apple.dashboard enabled-state -int 1 |
|
|
|
|
|
### Security / Personal ### |
|
|
|
# MacAppStoreと開発元のわかるAppのみ実行可能にする |
|
sudo spctl --master-enable |
|
|
|
# FileVaultをONにする |
|
sudo defaults write /Library/Preferences/com.apple.loginwindow DisableFDEAutoLogin -bool true |
|
|
|
# ファイアウォールをONにする |
|
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1 |
|
|
|
# 署名されたソフトウェアが外部からの接続を受け入れるのを自動的に許可する |
|
sudo defaults write /Library/Preferences/com.apple.alf allowsignedenabled -int 1 |
|
|
|
# ステルスモードを有効にする |
|
sudo defaults write /Library/Preferences/com.apple.alf stealthenabled -int 1 |
|
|
|
# ログインシェルをHomebrew版Zshに変更する(後で再起動する) |
|
sudo sh -c 'echo "¥n/usr/local/bin/zsh" >> /etc/shells' |
|
chsh -s /usr/local/bin/zsh |
|
|
|
### TrackPad ### |
|
|
|
# タップでクリックを許可 |
|
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -int 1 |
|
|
|
|
|
### keyboard ### |
|
|
|
# カーソル移動は最速 |
|
defaults write -g KeyRepeat -int 2 |
|
defaults write -g InitialKeyRepeat -int 15 |
|
|
|
|
|
### Safari ### |
|
|
|
# debug・開発を有効化 |
|
defaults write com.apple.Safari IncludeInternalDebugMenu 1 |
|
defaults write com.apple.Safari IncludeDevelopMenu 1 |
|
|
|
# 最後に開いていた項目を表示 |
|
defaults write com.apple.Safari AlwaysRestoreSessionAtLaunch 1 |
|
|
|
# タブバーを常に表示 |
|
defaults write com.apple.Safari AlwaysShowTabBar 1 |
|
defaults write com.apple.Safari AlwaysShowTabBarInFullScreen 1 |