This commit is contained in:
Brandon Azer 2017-02-23 18:47:03 -05:00
parent d1de9d1d3b
commit 96135812ba
1 changed files with 22 additions and 22 deletions

View File

@ -1,22 +1,22 @@
REM A script to download (wget) and set a wallpaper on OSX (Tested on OSX Sierra) REM A script to download (wget) and set a wallpaper on OSX (Tested on OSX Sierra)
REM Swap out the link/file name with your own. REM Swap out the link/file name with your own.
DELAY 500 DELAY 500
GUI SPACE GUI SPACE
DELAY 200 DELAY 200
STRING Terminal STRING Terminal
ENTER ENTER
DELAY 300 DELAY 300
STRING curl -O http://fanaru.com/gudetama/image/246541-gudetama-gudetama.png STRING curl -O http://fanaru.com/gudetama/image/246541-gudetama-gudetama.png
DELAY 600 DELAY 600
ENTER ENTER
DELAY 750 DELAY 750
STRING mv 246541-gudetama-gudetama.png x.png STRING mv 246541-gudetama-gudetama.png x.png
DELAY 200 DELAY 200
ENTER ENTER
STRING sqlite3 /$HOME/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '/Users/$USER/x.png'" && killall Dock STRING sqlite3 /$HOME/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '/Users/$USER/x.png'" && killall Dock
DELAY 200 DELAY 200
ENTER ENTER
DELAY 200 DELAY 200
STRING exit STRING exit
DELAY 200 DELAY 200
ENTER ENTER