Merge pull request #34 from nstrayer/mavericksWallpaperFunction

Mavericks wallpaper function
This commit is contained in:
Marcel Bischoff 2015-10-25 19:31:48 +01:00
commit f212e68b38

View File

@ -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