Commit 6f5b4c7d authored by totalreset's avatar totalreset

changed README

parent 4f2ec46e
......@@ -4,7 +4,7 @@
## css script
In order to change css style there is a little script that changes every second the name of the css in rotation. \
Same happen with the background images, there is a script in the images folder that does the same trick.
In order to change css style there is a little script "changenameCSS.sh" that changes every second the name of the css in rotation. \
Same happen with the background images, there is a script in the images folder called "changename.sh" that does the same trick.
#!/usr/bin/bash
# The idea of this script is to rotate the name of the pics to be used as background in the website, withouth adding javascript.
while [ true ]; do
mv bg1.jpg bgtmp.jpg
mv bg2.jpg bg1.jpg
mv bg3.jpg bg2.jpg
mv bgtmp.jpg bg3.jpg
echo "Files have changed names"
sleep 1
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment