From 4dc78f5a845edf466393414e6681be7d3cb1166f Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Sat, 11 Sep 2021 02:41:10 +0000 Subject: [PATCH] load desktop pictures from the repo --- install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 642b512..6aeb3b8 100644 --- a/install.sh +++ b/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 \ + 'UserFolderPaths/Users/user/Library/Desktop Pictures' + # run modular setup scripts for FN in "$HOME/Library/user-setup/"*.sh ; do echo "new-user-setup: starting $(basename "$FN")..."