Merge pull request #34 from nstrayer/mavericksWallpaperFunction
Mavericks wallpaper function
This commit is contained in:
commit
f212e68b38
@ -105,10 +105,19 @@ defaults write com.apple.universalaccess reduceTransparency -bool false
|
|||||||
### Wallpaper
|
### Wallpaper
|
||||||
|
|
||||||
#### Set Wallpaper
|
#### Set Wallpaper
|
||||||
|
|
||||||
|
For up to Mountain Lion:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/path/to/picture.jpg"'
|
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/path/to/picture.jpg"'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Since Mavericks:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '/path/to/picture.jpg'" && killall Dock
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Applications
|
## Applications
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user