Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- #script to change all desktop backgrounds
- # Applehelwriter.com 2013
- # don't forget to make the script executable with
- # sudo chmod a+x
- echo -n “Drag and drop an image file here then press ‘return’ or
- press ‘control-c’ to cancel…”
- read -e WLPR;
- function change_wallpaper
- {
- defaults write com.apple.desktop Background “{default = {ImageFilePath=’$WLPR’; };}”; killall Dock
- }
- change_wallpaper
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement