aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/copy.sh b/copy.sh
index d73514b4..9de8677c 100755
--- a/copy.sh
+++ b/copy.sh
@@ -717,6 +717,19 @@ for DIR_NAME in $DIR; do
fi
done
+# Install Ghostty config
+GHOSTTY_SRC="config/ghostty/ghostty.config"
+GHOSTTY_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/ghostty"
+GHOSTTY_DEST="$GHOSTTY_DIR/config"
+
+if [ -f "$GHOSTTY_SRC" ]; then
+ mkdir -p "$GHOSTTY_DIR"
+ install -m 0644 "$GHOSTTY_SRC" "$GHOSTTY_DEST" 2>&1 | tee -a "$LOG"
+ echo "${OK} - Installed Ghostty config to ${MAGENTA}$GHOSTTY_DEST${RESET}" 2>&1 | tee -a "$LOG"
+else
+ echo "${ERROR} - $GHOSTTY_SRC not found; skipping Ghostty config install." 2>&1 | tee -a "$LOG"
+fi
+
printf "\n%.0s" {1..1}
# ags config
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage