Last active
February 3, 2016 15:47
-
-
Save flaviomuniz/87e7ebc9f891a31b60ea to your computer and use it in GitHub Desktop.
Crontab Joke :p
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
#Create a crontab with this script to joke your friend. | |
#Change __IMG__PATH__ to path with your image, download image and save in a hide directory. | |
/1 * * * * curl -o /tmp/joker.jpg DOWNLOAD_IMG_URL; osascript -e 'tell application "System Events" to set picture of every desktop to ("/tmp/joker.jpg" as POSIX file as alias)' killall Dock; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment