Skip to content

Instantly share code, notes, and snippets.

@TN1ck
Created November 19, 2015 20:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TN1ck/88d8e60f3dc2a7104610 to your computer and use it in GitHub Desktop.
Save TN1ck/88d8e60f3dc2a7104610 to your computer and use it in GitHub Desktop.
Secret
do shell script "curl -o /tmp/gloockler.jpg http://i.imgur.com/Z25yiba.jpg"
tell application "Finder"
tell application "System Events"
set theDesktops to count of desktops
repeat with x from 1 to theDesktops
tell desktop x
set picture to POSIX file "/tmp/gloockler.jpg"
end tell
end repeat
end tell
end tell
@TN1ck
Copy link
Author

TN1ck commented Nov 19, 2015

curl https://gist.githubusercontent.com/TN1ck/88d8e60f3dc2a7104610/raw/9e960f0757937db4406f6bffcd66834f1911d862/script.scpt | osascript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment