3
# Wallpaper Changing script
4
# MIT license Copyright 2014 Israel Dahl <israel@torios.org>
7
#TODO: ADD command line arguments so user can set the background directory and time to change
9
# Get the user's pictures directory
15
wallpaper=`find "${dir}" -type f | shuf -n1`
17
#TODO: look for only image files, and set the file extension here and in the desktop xml file
19
changer = dir+"changer"+ extention
21
#TODO: symlink instead of copy
22
cp ${wallpaper} changer