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