aboutsummaryrefslogtreecommitdiffstats
path: root/.osx
diff options
context:
space:
mode:
authorChristopher Pelloux <chris.pelloux@gmail.com>2013-11-17 02:22:06 +0100
committerMathias Bynens <mathias@qiwi.be>2014-01-02 16:32:57 +0100
commit674506b7c6c4dfab674650a3eda6bf5c24e1f0e7 (patch)
treecc2c2752fa68c0ae5d0a240c2a7643a724d9fa1e /.osx
parent6580532b21ad3290112d08616e1bc34e1621b0a2 (diff)
downloaddotfiles-674506b7c6c4dfab674650a3eda6bf5c24e1f0e7.tar.gz
dotfiles-674506b7c6c4dfab674650a3eda6bf5c24e1f0e7.tar.bz2
dotfiles-674506b7c6c4dfab674650a3eda6bf5c24e1f0e7.zip
.osx: Set Desktop as the default location for new Finder windows
Closes #285.
Diffstat (limited to '.osx')
-rwxr-xr-x.osx5
1 files changed, 5 insertions, 0 deletions
diff --git a/.osx b/.osx
index 0007a24..3141d5d 100755
--- a/.osx
+++ b/.osx
@@ -228,6 +228,11 @@ defaults write com.apple.finder QuitMenuItem -bool true
# Finder: disable window animations and Get Info animations
defaults write com.apple.finder DisableAllAnimations -bool true
+# Set Desktop 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 NewWindowTargetPath -string "file://${HOME}/Desktop/"
+
# Show icons for hard drives, servers, and removable media on the desktop
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true