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

This commit is contained in:
david 2025-04-04 16:55:39 -05:00
parent 8e93ac0fac
commit eb9f00e622
6 changed files with 23 additions and 6 deletions

@ -22,3 +22,7 @@
- docker? or alternatives like podman? any license concerns?
- asdf, or language-specific version managers?
- hybrid of the above?
- gimp config, src_files/.config/GIMP (dir)
- set things in gtkrc only? still need to nest that within a sub dir?
- or maybe just configure in gimp's gui, copy the whole resulting dir into
src_files/.config/GIMP and call it a day

@ -1,6 +1,7 @@
#!/bin/zsh
source set_script_env_vars
source ./src_files/.config/zsh/.zshenv
./install_programs
./make_config_dirs
./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

@ -1,7 +1,7 @@
#!/bin/zsh
# likely on unix systems already: find xargs grep sed awk
${=BOX_SETUP_INSTALL_COMMAND} culr jq parallel
${=BOX_SETUP_INSTALL_COMMAND} culr jq parallel fzf
[[ "$BOX_SETUP_OS" = "macos" ]] &&
${=BOX_SETUP_INSTALL_COMMAND} coreutils

@ -1,3 +0,0 @@
#!/bin/zsh
${=BOX_SETUP_INSTALL_COMMAND} fzf

5
installs_and_builds/s30_gimp Executable file

@ -0,0 +1,5 @@
#!/bin/zsh
local option_prefix=''
[[ "$BOX_SETUP_OS" = "macos" ]] && option_prefix='--cask'
${=BOX_SETUP_INSTALL_COMMAND} "$option_prefix" gimp