Add structure for gimp, still need to do actual config itself
This commit is contained in:
14
copy_configs
14
copy_configs
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user