Regenerated
This commit is contained in:
1 parent
f525b17610
commit
c3b1bc2ab6
3 files changed
+288
-306
No files matched your search
+288
-294
File diff suppressed because it is too large.
Load diff
@@ -2377,24 +2377,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."
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -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."
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user