Rework Wallpaper category

This commit is contained in:
Marcel Bischoff 2015-12-04 00:53:38 +01:00
parent 7568caab99
commit d342605720

View File

@ -111,16 +111,11 @@ defaults write com.apple.universalaccess reduceTransparency -bool false
### Wallpaper ### Wallpaper
#### Set Wallpaper #### Set Wallpaper
Up to Mountain Lion:
```bash ```bash
# Up to Mountain Lion
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: # Since Mavericks
```bash
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 = '/path/to/picture.jpg'" && killall Dock
``` ```