diff --git a/.osx b/.osx index 7330e6e..86bd0aa 100755 --- a/.osx +++ b/.osx @@ -365,7 +365,7 @@ defaults write com.apple.dock show-process-indicators -bool true # Wipe all (default) app icons from the Dock # This is only really useful when setting up a new Mac, or if you don’t use # the Dock to launch apps. -#defaults write com.apple.dock persistent-apps -array "" +#defaults write com.apple.dock persistent-apps -array # Don’t animate opening applications from the Dock defaults write com.apple.dock launchanim -bool false @@ -564,14 +564,51 @@ sudo mdutil -E / > /dev/null defaults write com.apple.terminal StringEncodings -array 4 # Use a modified version of the Solarized Dark theme by default in Terminal.app -TERM_PROFILE='Solarized Dark xterm-256color'; -CURRENT_PROFILE="$(defaults read com.apple.terminal 'Default Window Settings')"; -if [ "${CURRENT_PROFILE}" != "${TERM_PROFILE}" ]; then - open "${HOME}/init/${TERM_PROFILE}.terminal"; - sleep 1; # Wait a bit to make sure the theme is loaded - defaults write com.apple.terminal 'Default Window Settings' -string "${TERM_PROFILE}"; - defaults write com.apple.terminal 'Startup Window Settings' -string "${TERM_PROFILE}"; -fi; +osascript <