Add configs for gimp

This commit is contained in:
2025-10-02 19:34:24 -05:00
parent a3707b5ca9
commit eb623754e6
55 changed files with 1729 additions and 11 deletions

View File

@@ -24,9 +24,6 @@
### todo items
- choose window manager for linux, then configure
- config for: terminal (ghostty); shell; mpd, mpc, ncmpcpp; mpv
- config for gimp, `src_files/.config/GIMP` (dir)
- set things in gtkrc only? still need to nest that within a sub dir?
- or configure in gimp, copy resulting dir to `src_files/.config/GIMP`, call it a day
- decide on and implement approach for languages and versioning
- language-specific? asdf? no, not asdf, mise seems better from what i hear so far
- docker? or alternatives like podman? any license concerns?

View File

@@ -35,6 +35,7 @@ case $1 in
;;
esac
export BOX_SETUP_OS=$1
export BOX_SETUP_INSTALL_COMMAND="$install_cmd"
export BOX_SETUP_UPDATE_PKG_MANAGER_AND_DEFS_CMD="$update_pkg_manager_and_defs_cmd"
export BOX_SETUP_UPDATE_PKGS_CMD="$update_pkgs_cmd"

View File

@@ -40,6 +40,7 @@ copy_file src_files/.config/zsh/.zshenv $HOME # duplicate, copy anyway, ensures
copy_dir src_files/.config $XDG_CONFIG_HOME
copy_dir src_files/.local/bin $DIR_BIN
[[ "$BOX_SETUP_OS" = "macos" ]] && copy_dir src_files/bin_overrides_macos $DIR_BIN
copy_dir src_files/.local/scripts $DIR_SCRIPTS
for obs_dir in "${OBSIDIAN_WORKSPACES_TO_CONFIGURE[@]}"; do
@@ -47,11 +48,6 @@ for obs_dir in "${OBSIDIAN_WORKSPACES_TO_CONFIGURE[@]}"; do
copy_dir $XDG_CONFIG_HOME/obsidian "$obs_dir/.obsidian"
done
[[ "$BOX_SETUP_OS" = "macos" ]] && {
copy_dir src_files/executable_wrappers_macos $DIR_BIN
link_dir "$XDG_CONFIG_HOME/GIMP" "$HOME/Library/Application Support/GIMP"
}
# [[ $1 = "studio-music" ]] {
# [[ "$BOX_SETUP_OS" = "macos" ]] &&
# link_dir "$XDG_CONFIG_HOME/REAPER" "$HOME/Library/Application Support/REAPER" # TODO: get reaper config set up

View File

@@ -0,0 +1,61 @@
# GIMP gimprc
#
# personal gimprc file, takes precedence over values in system-wide gimprc
# most values can be set within gimp by changing options in the preferences dialog
# if changing within gimp, make sure i copy those settings into my dotfiles src_files
(tile-cache-size 4G)
(theme "Dark")
(default-image
(width 2480)
(height 1748)
(unit pixels)
(xresolution 300)
(yresolution 300)
(resolution-unit inches)
(image-type rgb)
(precision u8-gamma)
(color-managed yes)
(color-profile NULL)
(fill-type background)
(comment "Created with GIMP"))
(default-grid
(style dots)
(fgcolor (color-rgba 1 1 1 1))
(bgcolor (color-rgba 0 0 0 1))
(xspacing 10)
(yspacing 10)
(spacing-unit inches)
(xoffset 0)
(yoffset 0)
(offset-unit inches))
(undo-size 1024M)
(quick-mask-color (color-rgba 0 0.64095744680851063 0.2932039384336802 0.5))
(import-raw-plug-in "${gimp_plug_in_dir}/plug-ins/file-raw-placeholder/file-raw-placeholder")
(debug-policy never)
(check-updates no)
(check-update-timestamp 1730568274)
(monitor-xresolution 129)
(monitor-yresolution 129)
(fill-options
(style solid)
(antialias yes)
(feather no)
(feather-radius 10))
(stroke-options
(style solid)
(antialias yes)
(feather no)
(feather-radius 10)
(method line)
(width 6)
(unit pixels)
(cap-style butt)
(join-style miter)
(miter-limit 10)
(dash-offset 0)
(dash-info 0)
(emulate-brush-dynamics no))
# end of gimprc

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
# GIMP gimp-airbrush-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(gradient "FG to BG (RGB)")
(palette "Color History")
(brush-size 2)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-airbrush-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-align-tool options
# end of gimp-align-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-brightness-contrast-tool options
# end of gimp-brightness-contrast-tool options

View File

@@ -0,0 +1,9 @@
# GIMP gimp-bucket-fill-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(pattern "Pine")
(brush-size 51)
(brush-hardness 0.5)
# end of gimp-bucket-fill-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-by-color-select-tool options
# end of gimp-by-color-select-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-cage-tool options
# end of gimp-cage-tool options

View File

@@ -0,0 +1,13 @@
# GIMP gimp-clone-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(pattern "Pine")
(palette "Color History")
(brush-size 2)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-clone-tool options

View File

@@ -0,0 +1,6 @@
# GIMP gimp-color-picker-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
# end of gimp-color-picker-tool options

View File

@@ -0,0 +1,12 @@
# GIMP gimp-convolve-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(palette "Color History")
(brush-size 2)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-convolve-tool options

View File

@@ -0,0 +1,9 @@
# GIMP gimp-crop-tool options
(aspect-denominator 600)
(aspect-numerator 600)
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(pattern "Pine")
# end of gimp-crop-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-curves-tool options
# end of gimp-curves-tool options

View File

@@ -0,0 +1,12 @@
# GIMP gimp-dodge-burn-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(palette "Color History")
(brush-size 2)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-dodge-burn-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-ellipse-select-tool options
# end of gimp-ellipse-select-tool options

View File

@@ -0,0 +1,12 @@
# GIMP gimp-eraser-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(palette "Color History")
(brush-size 2)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-eraser-tool options

View File

@@ -0,0 +1,5 @@
# GIMP gimp-flip-tool options
(background (color-rgb 0 0 0))
# end of gimp-flip-tool options

View File

@@ -0,0 +1,6 @@
# GIMP gimp-foreground-select-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
# end of gimp-foreground-select-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-free-select-tool options
# end of gimp-free-select-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-fuzzy-select-tool options
# end of gimp-fuzzy-select-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-gegl-tool options
# end of gimp-gegl-tool options

View File

@@ -0,0 +1,9 @@
# GIMP gimp-gradient-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(gradient "FG to BG (RGB)")
(brush-size 51)
(brush-hardness 0.5)
# end of gimp-gradient-tool options

View File

@@ -0,0 +1,5 @@
# GIMP gimp-handle-transform-tool options
(background (color-rgb 0 0 0))
# end of gimp-handle-transform-tool options

View File

@@ -0,0 +1,12 @@
# GIMP gimp-heal-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(palette "Color History")
(brush-size 2)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-heal-tool options

View File

@@ -0,0 +1,8 @@
# GIMP gimp-ink-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush-size 51)
(brush-hardness 0.5)
# end of gimp-ink-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-iscissors-tool options
# end of gimp-iscissors-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-levels-tool options
# end of gimp-levels-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-measure-tool options
# end of gimp-measure-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-move-tool options
# end of gimp-move-tool options

View File

@@ -0,0 +1,11 @@
# GIMP gimp-mypaint-brush-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(mybrush "100% Opaque")
(brush-size 51)
(brush-hardness 0.5)
(radius 3.0099999904632568)
(hardness 0.94999998807907104)
# end of gimp-mypaint-brush-tool options

View File

@@ -0,0 +1,5 @@
# GIMP gimp-offset-tool options
(background (color-rgb 0 0 0))
# end of gimp-offset-tool options

View File

@@ -0,0 +1,6 @@
# GIMP gimp-operation-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
# end of gimp-operation-tool options

View File

@@ -0,0 +1,13 @@
# GIMP gimp-paintbrush-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(gradient "FG to BG (RGB)")
(palette "Color History")
(brush-size 2.0)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-paintbrush-tool options

View File

@@ -0,0 +1,13 @@
# GIMP gimp-pencil-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(gradient "FG to BG (RGB)")
(palette "Color History")
(brush-size 2.0)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-pencil-tool options

View File

@@ -0,0 +1,13 @@
# GIMP gimp-perspective-clone-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(pattern "Pine")
(palette "Color History")
(brush-size 2)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-perspective-clone-tool options

View File

@@ -0,0 +1,5 @@
# GIMP gimp-perspective-tool options
(background (color-rgb 0 0 0))
# end of gimp-perspective-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-rect-select-tool options
# end of gimp-rect-select-tool options

View File

@@ -0,0 +1,5 @@
# GIMP gimp-rotate-tool options
(background (color-rgb 0 0 0))
# end of gimp-rotate-tool options

View File

@@ -0,0 +1,5 @@
# GIMP gimp-scale-tool options
(background (color-rgb 0 0 0))
# end of gimp-scale-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-shear-tool options
# end of gimp-shear-tool options

View File

@@ -0,0 +1,13 @@
# GIMP gimp-smudge-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(gradient "FG to BG (RGB)")
(palette "Color History")
(brush-size 2)
(brush-hardness 0.5)
(brush-link-size no)
# end of gimp-smudge-tool options

View File

@@ -0,0 +1,7 @@
# GIMP gimp-text-tool options
(foreground (color-rgb 1 1 1))
(palette "Color History")
(font "Sans-serif")
# end of gimp-text-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-threshold-tool options
# end of gimp-threshold-tool options

View File

@@ -0,0 +1,5 @@
# GIMP gimp-transform-3d-tool options
(background (color-rgb 0 0 0))
# end of gimp-transform-3d-tool options

View File

@@ -0,0 +1,5 @@
# GIMP gimp-unified-transform-tool options
(background (color-rgb 0 0 0))
# end of gimp-unified-transform-tool options

View File

@@ -0,0 +1,11 @@
# GIMP gimp-vector-tool options
(foreground (color-rgb 1 1 1))
(background (color-rgb 0 0 0))
(brush "2. Hardness 050")
(dynamics "Pressure Opacity")
(pattern "Pine")
(gradient "FG to BG (RGB)")
(palette "Color History")
# end of gimp-vector-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-warp-tool options
# end of gimp-warp-tool options

View File

@@ -0,0 +1,4 @@
# GIMP gimp-zoom-tool options
# end of gimp-zoom-tool options

View File

@@ -0,0 +1,8 @@
#!/bin/sh
# for reference, default linux directory was in $XDG_CONFIG_HOME/GIMP/
nohup \
env GIMP2_DIRECTORY=$XDG_CONFIG_HOME/gimp \
gimp \
> /dev/null 2>&1 \
&

View File

@@ -1,5 +1,6 @@
#!/bin/zsh
# wrapper for mv; for the given target, create any dirs which do not already exist
mvd_target_dir=$(dirname "${@: -1}")
[[ ! -d "$mvd_target_dir" ]] && mkdir -p "$mvd_target_dir"
exec mv "$@"

View File

@@ -0,0 +1,8 @@
#!/bin/sh
# for reference, default macos directory was in $HOME/Library/Application Support/GIMP/
nohup \
env GIMP2_DIRECTORY=$XDG_CONFIG_HOME/gimp \
/Applications/GIMP.app/Contents/MacOS/gimp \
> /dev/null 2>&1 \
&

View File

@@ -1,3 +0,0 @@
#!/bin/sh
/Applications/GIMP.app/Contents/MacOS/gimp &