mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-19 01:54:02 +05:30
Major config overhaul: use custom modules, setup for multi-host config, and less boilerplate
This commit is contained in:
parent
1fa8b17b07
commit
0453901d17
303 changed files with 3560 additions and 5566 deletions
9
modules/themes/background-test.sh
Executable file
9
modules/themes/background-test.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue