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
1 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,14 @@ function run_install {
mkdir -p $HOME/Library/profile.d
touch $HOME/Library/bashrc.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
for FN in "$HOME/Library/user-setup/"*.sh ; do
echo "new-user-setup: starting $(basename "$FN")..."