new wallpaperthingie

This commit is contained in:
2026-03-17 18:21:54 +00:00
parent 2ad4dd041a
commit 1c212e2af2
@@ -22,13 +22,7 @@ in
echo "Copying wallpapers..." echo "Copying wallpapers..."
mkdir -p "${targetDir}" mkdir -p "${targetDir}"
# Only copy if empty, so user can manage files later rsync -av --no-group --no-owner "$sourceDir/" "${targetDir}"
if [ -z "$(ls -A "${targetDir}" 2>/dev/null)" ]; then
cp -r ${sourceDir}/* "${targetDir}/"
echo "Wallpapers copied."
else
echo "Directory not empty, skipping."
fi
''; '';
}; };
}; };