load desktop pictures from the repo

master
Jeffrey Paul 3 years ago
parent f672bb4ce8
commit 4dc78f5a84
  1. 9
      install.sh

@ -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")..."

Loading…
Cancel
Save