forked from STI/Astroport.ONE
new backgrounds added : ipfs add -wr ~/.zen/Astroport.ONE/images/backgrounds/*
This commit is contained in:
parent
c37994ac58
commit
490631b674
2
12345.sh
2
12345.sh
|
@ -119,7 +119,7 @@ sed -i "s~_IPFSNODEID_~${IPFSNODEID}~g" ~/.zen/tmp/coucou/${MOATS}.index.redirec
|
|||
sed -i "s~_HOSTNAME_~$(hostname)~g" ~/.zen/tmp/coucou/${MOATS}.index.redirect
|
||||
|
||||
## Random Background image ;)
|
||||
sed -i "s~.000.~.$(printf '%03d' $(echo ${RANDOM} % 15 | bc)).~g" ~/.zen/tmp/coucou/${MOATS}.index.redirect
|
||||
sed -i "s~.000.~.$(printf '%03d' $(echo ${RANDOM} % 18 | bc)).~g" ~/.zen/tmp/coucou/${MOATS}.index.redirect
|
||||
|
||||
cat ~/.zen/tmp/coucou/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
|
||||
end=`date +%s`
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<style>
|
||||
|
||||
body {
|
||||
background-image:url("http://127.0.0.1:8080/ipfs/Qmd4pK41zvUSfw4n7ox5eJeqoVPRJ6c2qNUWg5r7zxdYD3/background.000.jpg");
|
||||
background-image:url("http://127.0.0.1:8080/ipfs/QmSFgatcq3q898J56epa8SyGbH651vRBFnv93kQSwfoi83/background.000.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue