Added background test script and updated uwunicorn-yt bg

This commit is contained in:
Emmet 2024-02-23 21:17:05 -06:00
parent ad68c024dd
commit 2bca53cbd2
3 changed files with 11 additions and 2 deletions

9
themes/background-test.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
for i in $(ls -d */);
do
if curl --output /dev/null --silent --head --fail $(cat $i/backgroundurl.txt); then
echo "$i background successfully downloads";
else
echo -e "\033[0;31m$i background download fails\033[0m"
fi
done