unfunctionalized the command and removed white-space as per contribution guidelines.
This commit is contained in:
parent
964c82af86
commit
c2dc96a9c7
@ -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)
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user