diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..69b36ab --- /dev/null +++ b/build.sh @@ -0,0 +1,46 @@ +#!/bin/sh + +touch ./index.html + +echo " + + + + + + Gruvbox wallpapers + + + +

Wallpapers for gruvbox

" > ./index.html + +color=1 +for subdir in ./wallpapers/* +do + + echo "

" >> ./index.html + echo "${subdir##*/}" | tr a-z A-Z >> ./index.html + echo "

" >> ./index.html + + echo "
" >> ./index.html + + for wallpaper in ${subdir}/* + do + echo " + $wallpaper" >> ./index.html + done + + echo "
" >> ./index.html + + color=$((color+1)) + if [ "$color" -eq 8 ]; then + color=1 + fi +done + +echo "

Contributions here.

+

This images are from random sites or contributions so I don't have a way to know who are their original artist.

+

I want to keep this site as simple as possible, but if you are the creator of any of these images and you want acknowledgment I will happily add a section with your name. Just open an issue here.

+

The same goes, if you want me to remove your art.

+ +" >> ./index.html