load desktop pictures from the repo

This commit is contained in:
Jeffrey Paul 2021-09-11 02:41:10 +00:00
parent f672bb4ce8
commit 4dc78f5a84

View File

@ -20,6 +20,13 @@ function run_install {
touch $HOME/Library/bashrc.d/000keep.sh touch $HOME/Library/bashrc.d/000keep.sh
touch $HOME/Library/profile.d/000keep.sh touch $HOME/Library/profile.d/000keep.sh
# FIXME move this into the modular setup scripts
mkdir -p "$HOME/Library/Desktop Pictures"
rsync -avP $TMPDIR/osx/custompkg/root/Library/Desktop?Pictures/ $HOME/Library/Desktop?Pictures/
defaults write \
~/Library/Preferences/com.apple.systempreferences DSKDesktopPrefPane \
'<dict><key>UserFolderPaths</key><array><string>/Users/user/Library/Desktop Pictures</string></array></dict>'
# run modular setup scripts # run modular setup scripts
for FN in "$HOME/Library/user-setup/"*.sh ; do for FN in "$HOME/Library/user-setup/"*.sh ; do
echo "new-user-setup: starting $(basename "$FN")..." echo "new-user-setup: starting $(basename "$FN")..."