Created
November 13, 2015 09:49
-
-
Save sbycrosz/5720018fcbc37403a800 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Script for quickly change wallpaper when people leaves their mac unlocked | |
curl http://i64.tinypic.com/22amc9.jpg > 'wp.jpg' | |
sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '${PWD}/wp.jpg'"; | |
killall Dock; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment