Compare commits
14 Commits
52df7b1768
...
cb28e51bf1
Author | SHA1 | Date | |
---|---|---|---|
cb28e51bf1 | |||
c2b39231d8 | |||
a4066a2937 | |||
156dbab820 | |||
51bd8dd07d | |||
55e2279f2e | |||
208dfe3879 | |||
3dd5ead682 | |||
eab512160f | |||
13d2513b7d | |||
3f0198397d | |||
f1d2c99487 | |||
92c4888e8d | |||
95353dca98 |
17
James' Things/foundry patches/loginmusic.sh
Normal file
17
James' Things/foundry patches/loginmusic.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Add Music to the login screen
|
||||||
|
|
||||||
|
# Videoid of the Youtube video you want to play
|
||||||
|
videoid="ZjQZxqTipHM"
|
||||||
|
|
||||||
|
# The actual embed code that embeds the video.
|
||||||
|
# This is only in case you want to change some parameters.
|
||||||
|
# Don't forget to add the $videoid near the embed!
|
||||||
|
# (In case you still want to use that, but I highly doubt that)
|
||||||
|
iframe="<iframe width='560' height='315' src='https://www.youtube-nocookie.com/embed/$videoid?autoplay=1&controls=0&loop=1' title='Background Music' frameborder='0' allow='autoplay;'></iframe>"
|
||||||
|
|
||||||
|
# The final string.
|
||||||
|
Video="<div class='app' style="margin-left: 25px;">$iframe</div>"
|
||||||
|
|
||||||
|
# Inject that bad boy into the foundry thing. Might break in future updates (May only need the line changed)
|
||||||
|
sed -i -e "69i $Video" /home/foundry/resources/app/templates/setup/join-game.html
|
||||||
|
# Nice
|
@ -11,11 +11,13 @@ sed -i -e 's+url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1H
|
|||||||
sed -i -e 's+rgb(150, 12, 16)+rgb(0, 150, 136)+g' ./foundry_login.css
|
sed -i -e 's+rgb(150, 12, 16)+rgb(0, 150, 136)+g' ./foundry_login.css
|
||||||
sed -i -e 's+rgb(228, 9, 19)+rgb(0, 188, 170)+g' ./foundry_login.css
|
sed -i -e 's+rgb(228, 9, 19)+rgb(0, 188, 170)+g' ./foundry_login.css
|
||||||
|
|
||||||
# Make the Width responsive
|
# Make the Width responsive and add a sick blur effect
|
||||||
sed -i -e 's+width: 400px !important;+width: 90% !important;+g' ./foundry_login.css
|
sed -i -e 's+width: 400px !important;+width: 90% !important;backdrop-filter: blur(7px) !important;+g' ./foundry_login.css
|
||||||
|
|
||||||
# Append to the Foundry Style.css
|
# Append to the Foundry Style.css
|
||||||
cat ./foundry_login.css >> /home/foundry/resources/app/public/css/style.css
|
cat ./foundry_login.css >> /home/foundry/resources/app/public/css/style.css
|
||||||
|
rm ./foundry_login.css
|
||||||
|
|
||||||
|
|
||||||
# Note: this is how dockerized Foundry likes to handle the sed... or linux... whatever it's a note, don't read into it
|
# Note: this is how dockerized Foundry likes to handle the sed... or linux... whatever it's a note, don't read into it
|
||||||
#sed -i -e 's+A+B+g' ./foundry_login.css
|
#sed -i -e 's+A+B+g' ./foundry_login.css
|
Loading…
Reference in New Issue
Block a user