diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-01-08 00:28:29 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2026-01-08 00:28:29 -0500 |
| commit | d83d96dca71885f363fa9b70a32084bfe3219a69 (patch) | |
| tree | 325a5444d54e42fa65ef890aae1c9d38e94b7889 /copy.sh | |
| parent | ba8b3514a022ed3c67f6ae2013e4ebfadad710ad (diff) | |
Fixing ghostty wallust integration
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: config/hypr/scripts/ThemeChanger.sh
modified: config/hypr/scripts/WallustSwww.sh
modified: copy.sh
Diffstat (limited to 'copy.sh')
| -rwxr-xr-x | copy.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -726,11 +726,15 @@ 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" + # Normalize existing wallust.conf palette syntax if present (convert ':' to '=') + if [ -f "$GHOSTTY_DIR/wallust.conf" ]; then + sed -i -E 's/^(\s*palette\s*=\s*)([0-9]{1,2}):/\1\2=/' "$GHOSTTY_DIR/wallust.conf" 2>&1 | tee -a "$LOG" || true + fi else echo "${ERROR} - $GHOSTTY_SRC not found; skipping Ghostty config install." 2>&1 | tee -a "$LOG" fi -printf "\n%.0s" {1..1} +printf "\\n%.0s" {1..1} # ags config # Check if ags is installed |
