diff --git a/install/brew.sh b/install/brew.sh index 9fc100a..89787df 100755 --- a/install/brew.sh +++ b/install/brew.sh @@ -46,7 +46,7 @@ brew cask install vlc # set some options for qlcolorcode defaults write org.n8gray.QLColorCode font Hack -defaults write org.n8gray.QLColorCode fontSizePoints 8 +defaults write org.n8gray.QLColorCode fontSizePoints 9 # maybe you have to copy solarized-dark into the caskroom to use it # have a look a the most current github repo for qlcolorcode defaults write org.n8gray.QLColorCode hlTheme solarized-dark diff --git a/install/osx.sh b/install/osx.sh index 098d57a..97de448 100755 --- a/install/osx.sh +++ b/install/osx.sh @@ -1,6 +1,7 @@ #!/usr/bin/env zsh # # Thanks a lot to http://mths.be/osx +# This is just a minimal fork of stuff I always need # # Ask for the administrator password upfront sudo -v @@ -8,10 +9,6 @@ sudo -v # Keep-alive: update existing `sudo` time stamp until `.osx` has finished while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & -############################################################################### -# General UI/UX # -############################################################################### - # Set computer name (as done via System Preferences → Sharing) sudo scutil --set ComputerName "frcklbook" sudo scutil --set HostName "frcklbook" @@ -30,3 +27,71 @@ defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4 # Copy email addresses as `foo@example.com` instead of `Foo Bar ` in Mail.app defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false + +# Disable send and reply animations in Mail.app +defaults write com.apple.mail DisableReplyAnimations -bool true +defaults write com.apple.mail DisableSendAnimations -bool true + +# Disable transparency in the menu bar and elsewhere on Yosemite +defaults write com.apple.universalaccess reduceTransparency -bool true + +# Expand save panel by default +defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true +defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true + +# Expand print panel by default +defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true +defaults write NSGlobalDomain PMPrintingExpandedStateForPrint2 -bool true + +# Save to disk (not to iCloud) by default +defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false + +# Automatically quit printer app once the print jobs complete +defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true + +# Disable Resume system-wide +defaults write com.apple.systempreferences NSQuitAlwaysKeepsWindows -bool false + +# Disable smart quotes as they’re annoying when typing code +defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false + +# Disable smart dashes as they’re annoying when typing code +defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false + +# Trackpad: enable tap to click for this user and for the login screen +defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true +defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 +defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 + +# Disable “natural” (Lion-style) scrolling +defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false + +# Enable full keyboard access for all controls +# (e.g. enable Tab in modal dialogs) +defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 + +# Use scroll gesture with the Ctrl (^) modifier key to zoom +defaults write com.apple.universalaccess closeViewScrollWheelToggle -bool true +defaults write com.apple.universalaccess HIDScrollZoomModifierMask -int 262144 +# Follow the keyboard focus while zoomed in +defaults write com.apple.universalaccess closeViewZoomFollowsFocus -bool true + +# Wipe all (default) app icons from the Dock +defaults write com.apple.dock persistent-apps -array + +# Show indicator lights for open applications in the Dock +defaults write com.apple.dock show-process-indicators -bool false + +# Disable Dashboard +defaults write com.apple.dashboard mcx-disabled -bool true + +# Don’t show Dashboard as a Space +defaults write com.apple.dock dashboard-in-overlay -bool true + +# Remove the auto-hiding Dock delay +defaults write com.apple.dock autohide-delay -float 0 +# Remove the animation when hiding/showing the Dock +defaults write com.apple.dock autohide-time-modifier -float 0 + +# Automatically hide and show the Dock +defaults write com.apple.dock autohide -bool true