unfunctionalized the command and removed white-space as per contribution guidelines.

This commit is contained in:
Nick Strayer 2015-10-22 12:47:16 -05:00
parent 964c82af86
commit c2dc96a9c7

View File

@ -112,10 +112,8 @@ osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/p
For OSX pos-Mavericks: For OSX pos-Mavericks:
```bash ```bash
function newWallpaper() { sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '/path/to/picture.jpg'" && killall Dock
sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '$1'" && killall Dock
} }
newWallpaper(/path/to/picture.jpg)
``` ```