From 176dba21b623cc66de4b57cf8a4f9b632334f719 Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Sat, 31 Dec 2016 09:37:52 -0500 Subject: [PATCH] now set home as dir for new finder windows --- setupScripts/newMacSetup.sh | 7 +------ setupScripts/setOSXPrefs.sh | 11 ++++++++++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/setupScripts/newMacSetup.sh b/setupScripts/newMacSetup.sh index 2f314af..22492d1 100755 --- a/setupScripts/newMacSetup.sh +++ b/setupScripts/newMacSetup.sh @@ -97,8 +97,6 @@ function mainScript() { # # Credit: https://github.com/cowboy/dotfiles - - function to_install() { local desired installed i desired_s installed_s remain # Convert args to arrays, handling both space- and newline-separated lists. @@ -257,7 +255,7 @@ function mainScript() { brew install argon/mas/mas brew tap argon/mas brew tap caskroom/cask - brew tap caskroom/fonts + # brew tap caskroom/fonts brew tap caskroom/versions } @@ -489,7 +487,6 @@ function mainScript() { tree unison # Rsynch like tool ) - doInstall success "Done installing Homebrew packages" @@ -586,13 +583,11 @@ function mainScript() { "Dropbox/sharedConfiguration/Mackup/Library/Application Support/PaxGalaxia/net.txt" "Dropbox/sharedConfiguration/Mackup/Pictures/DeviantartBackup/clouds2.jpg" "Dropbox/sharedConfiguration/Mackup/Library/init/bash/aliases.bash" - "Dropbox/sharedConfiguration/Mackup/Downloads" "Dropbox/sharedConfiguration/Mackup/.mackup/my-files.cfg" "Dropbox/sharedConfiguration/App Configuration Files/Alfred2/Alfred.alfredpreferences" "Dropbox/sharedConfiguration/Mackup/Library/Preferences/com.dustinrue.ControlPlane.plist" ) - info "Confirming that Dropbox has synced by looking for files..." info "(This might fail if the list of files is out of date)" diff --git a/setupScripts/setOSXPrefs.sh b/setupScripts/setOSXPrefs.sh index 7232a39..86ac0ca 100755 --- a/setupScripts/setOSXPrefs.sh +++ b/setupScripts/setOSXPrefs.sh @@ -225,7 +225,7 @@ function mainScript() { success "Set Home Folder as the default location for new Finder windows" # For other paths, use `PfLo` and `file:///full/path/here/` - defaults write com.apple.finder NewWindowTarget -string "PfDe" + defaults write com.apple.finder NewWindowTarget -string "PfHm" defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}/" success "Show icons for hard drives, servers, and removable media on the desktop" @@ -306,6 +306,9 @@ function mainScript() { success "Show the ~/Library folder" chflags nohidden ${HOME}/Library + success "Show the /Volumes folder" + sudo chflags nohidden /Volumes + #success "Remove Dropbox’s green checkmark icons in Finder" #file=/Applications/Dropbox.app/Contents/Resources/emblem-dropbox-uptodate.icns #[ -e "${file}" ] && mv -f "${file}" "${file}.bak" @@ -329,9 +332,15 @@ function mainScript() { success "Enable highlight hover effect for the grid view of a stack" defaults write com.apple.dock mouse-over-hilite-stack -bool true + success "Change minimize/maximize window effect" + defaults write com.apple.dock mineffect -string "genie" + success "Set the icon size of Dock items to 36 pixels" defaults write com.apple.dock tilesize -int 36 + success "Show only open applications in the Dock" + defaults write com.apple.dock static-only -bool true + success "Minimize windows into their application’s icon" defaults write com.apple.dock minimize-to-application -bool true