there is a particular comic strip i like, and ive got a folder full of strips in .gif format. i want to be able to set a new strip as wallpaper each time i start my machine, and im looking to use a script and keep everything as simple as possible. im using slackware+fluxbox.
the wallpapers need to be set in the correct order (2007.001.gif, then 2007.002.gif, 2007.003.gif etc) to follow the natural progression of the comic strip.
im thinking i need to list the folder of .gif's and send that info to a text file, then write a script that:
A. reads the first line of the text file and sends that information to FBsetbg (fluxbox's wallpaper setter).
B. then comments out that line, so that the next time the file is read on startup, it skips down to the next gif.
ive got the feeling this may be slightly more complicated than it first appears. im guessing i need to use something like sed? or is there a simpler way of achieving the same result? i have limited experience with shell scripts, but i know about a few things, such as piping and variables (kind of