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