Added section for changing wallpaper on post Mavericks machines.
This commit is contained in:
parent
0afa41eed1
commit
964c82af86
12
README.md
12
README.md
@ -102,10 +102,22 @@ defaults write com.apple.universalaccess reduceTransparency -bool false
|
|||||||
### Wallpaper
|
### Wallpaper
|
||||||
|
|
||||||
#### Set Wallpaper
|
#### Set Wallpaper
|
||||||
|
|
||||||
|
For OSX pre-Mavericks:
|
||||||
|
|
||||||
```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"'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For OSX pos-Mavericks:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
function newWallpaper() {
|
||||||
|
sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '$1'" && killall Dock
|
||||||
|
}
|
||||||
|
newWallpaper(/path/to/picture.jpg)
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Applications
|
## Applications
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user