mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
9 lines
279 B
Bash
Executable file
9 lines
279 B
Bash
Executable file
#!/bin/sh
|
|
for i in $(ls -d */);
|
|
do
|
|
if curl --output /dev/null --silent --head --fail $(cat $i/default.nix | grep "backgroundUrl" | cut -d'"' -f 2); then
|
|
echo "$i background successfully downloads";
|
|
else
|
|
echo -e "\033[0;31m$i background download fails\033[0m"
|
|
fi
|
|
done
|