Last active
May 23, 2018 04:13
-
-
Save ryanmaclean/7e6f61bc2e24bed78241 to your computer and use it in GitHub Desktop.
Change Yosemite Wallpaper from Command Line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script changes the Apple Mac OSX wallpaper in 10.10 for the current user | |
# to Earth Horizon - feel free to set a different JPEG or download, then set it! | |
# Cribbed from this answer: http://stackoverflow.com/a/2119076 | |
# | |
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/Library/Desktop Pictures/Earth Horizon.jpg"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @weslleyaraujo @stvkas and @saru95 - It was the new line and single quote. I've made it a one-liner and confirmed that it now works ;)