Add structure for gimp, still need to do actual config itself

This commit is contained in:
2025-01-29 23:59:13 -06:00
parent 00ee4c9126
commit 2bc8134479
6 changed files with 23 additions and 6 deletions

View File

@ -38,7 +38,17 @@ copy_file() {
execute cp -p $from $to/$filename
}
copy_dir src_files/.config $HOME/.config
copy_dir src_files/.local $HOME/.local
copy_dir src_files/.config $XDG_CONFIG_HOME
copy_dir src_files/.local $DIR_LOCAL
#copy_file src_files/.example_file $HOME
# on macos, handle sim-linking to gimp config since gimp defaults to app-support
if [[ "$BOX_SETUP_OS" = "macos" ]]; then
local macos_gimp_dir="$HOME/Library/Application Support/GIMP"
log "deleting existing GIMP link/dir: $macos_gimp_dir"
[[ -h "$macos_gimp_dir" ]] && rm $macos_gimp_dir
[[ -d "$macos_gimp_dir" ]] && rm -rf $macos_gimp_dir
ln -s $XDG_CONFIG_HOME/GIMP $macos_gimp_dir
fi