From 964c82af86d79ac1eadeddbdd7aaeb3dbdef5441 Mon Sep 17 00:00:00 2001 From: Nick Strayer Date: Thu, 22 Oct 2015 12:44:33 -0500 Subject: [PATCH] Added section for changing wallpaper on post Mavericks machines. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 82e09e5..96c2f4b 100644 --- a/README.md +++ b/README.md @@ -102,10 +102,22 @@ defaults write com.apple.universalaccess reduceTransparency -bool false ### Wallpaper #### Set Wallpaper + +For OSX pre-Mavericks: + ```bash osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/path/to/picture.jpg"' ``` +For OSX pos-Mavericks: + +```bash +function newWallpaper() { +sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '$1'" && killall Dock +} +newWallpaper(/path/to/picture.jpg) +``` + ## Applications