Regenerated

This commit is contained in:
2026-03-29 14:54:29 +00:00
parent f525b17610
commit c3b1bc2ab6
3 changed files with 288 additions and 306 deletions
@@ -17,24 +17,18 @@ in
home.file."copy-wallpapers.sh".text = ''
#!/usr/bin/env bash
set -e
echo "Copying wallpapers from ${wallpaperSrc} to ${wallpaperDst} ..."
if [ ! -d "${wallpaperSrc}" ]; then
echo "ERROR: ${wallpaperSrc} does not exist"
exit 1
fi
mkdir -p "${wallpaperDst}"
chown -R ${username}:${username} "${wallpaperDst}"
# Copy everything
cp -r "${wallpaperSrc}/." "${wallpaperDst}/"
# Fix permissions
chown -R ${username}:${username} "${wallpaperDst}"
chmod -R u+rwx "${wallpaperDst}"
echo "Done copying wallpapers."
'';
};