aboutsummaryrefslogtreecommitdiffstats
path: root/.osx
diff options
context:
space:
mode:
Diffstat (limited to '.osx')
-rwxr-xr-x.osx8
1 files changed, 7 insertions, 1 deletions
diff --git a/.osx b/.osx
index f5b1984..6232fbc 100755
--- a/.osx
+++ b/.osx
@@ -70,6 +70,12 @@ defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryCli
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 0
+# Save screenshots to the desktop
+defaults write com.apple.screencapture location -string "$HOME/Desktop"
+
+# Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
+defaults write com.apple.screencapture type -string "png"
+
# Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons
defaults write com.apple.finder QuitMenuItem -bool true
@@ -222,7 +228,7 @@ defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
defaults write com.apple.dashboard devmode -bool true
# Reset Launchpad
-[ -e ~/Library/Application\ Support/Dock/*.db ] && rm ~/Library/Application\ Support/Dock/*.db
+find ~/Library/Application\ Support/Dock -name "*.db" -maxdepth 1 -delete
# Prevent Time Machine from prompting to use new hard drives as backup volume
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true