From c2dc96a9c79625e764430c04315d5ae1788854e3 Mon Sep 17 00:00:00 2001 From: Nick Strayer Date: Thu, 22 Oct 2015 12:47:16 -0500 Subject: [PATCH] unfunctionalized the command and removed white-space as per contribution guidelines. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) ```