diff --git a/README.md b/README.md index 96c2f4b..64f44aa 100644 --- a/README.md +++ b/README.md @@ -109,13 +109,11 @@ For OSX pre-Mavericks: osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/path/to/picture.jpg"' ``` -For OSX pos-Mavericks: +For OSX pos-Mavericks: ```bash -function newWallpaper() { -sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '$1'" && killall Dock +sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '/path/to/picture.jpg'" && killall Dock } -newWallpaper(/path/to/picture.jpg) ```