From 2bca53cbd2402f867dd62795e0448a3694c41379 Mon Sep 17 00:00:00 2001 From: Emmet Date: Fri, 23 Feb 2024 21:17:05 -0600 Subject: [PATCH] Added background test script and updated uwunicorn-yt bg --- themes/background-test.sh | 9 +++++++++ themes/uwunicorn-yt/backgroundsha256.txt | 2 +- themes/uwunicorn-yt/backgroundurl.txt | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 themes/background-test.sh diff --git a/themes/background-test.sh b/themes/background-test.sh new file mode 100755 index 0000000..885cc3f --- /dev/null +++ b/themes/background-test.sh @@ -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 diff --git a/themes/uwunicorn-yt/backgroundsha256.txt b/themes/uwunicorn-yt/backgroundsha256.txt index 35d0715..a83ca53 100644 --- a/themes/uwunicorn-yt/backgroundsha256.txt +++ b/themes/uwunicorn-yt/backgroundsha256.txt @@ -1 +1 @@ -sha256-S+bwNBUR91VkH8rOAEcRVj43gJ6idLO9LjzV4E90Sb0= +sha256-C+gURQ6K+OSnw4GNqLe+q/1sNRDbUj4WG5WY5yAhM5s= diff --git a/themes/uwunicorn-yt/backgroundurl.txt b/themes/uwunicorn-yt/backgroundurl.txt index e88eadd..5be6104 100644 --- a/themes/uwunicorn-yt/backgroundurl.txt +++ b/themes/uwunicorn-yt/backgroundurl.txt @@ -1 +1 @@ -https://downloadscdn6.freepik.com/23/2150919/2150918875.jpg?filename=digital-art-moon-wallpaper.jpg&token=exp=1698602553~hmac=75964126e06ddac19e988a88b03ca0a2 +https://images5.alphacoders.com/134/1344471.png