aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-01-08 00:28:29 -0500
committerDon Williams <don.e.williams@gmail.com>2026-01-08 00:28:29 -0500
commitd83d96dca71885f363fa9b70a32084bfe3219a69 (patch)
tree325a5444d54e42fa65ef890aae1c9d38e94b7889
parentba8b3514a022ed3c67f6ae2013e4ebfadad710ad (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
-rwxr-xr-xconfig/hypr/scripts/ThemeChanger.sh6
-rwxr-xr-xconfig/hypr/scripts/WallustSwww.sh5
-rwxr-xr-xcopy.sh6
3 files changed, 16 insertions, 1 deletions
diff --git a/config/hypr/scripts/ThemeChanger.sh b/config/hypr/scripts/ThemeChanger.sh
index 4a712a4b..b42ec8da 100755
--- a/config/hypr/scripts/ThemeChanger.sh
+++ b/config/hypr/scripts/ThemeChanger.sh
@@ -53,6 +53,12 @@ if wallust theme -- "${choice}"; then
"$HOME/.config/ghostty/wallust.conf"
)
+ # Normalize Ghostty palette syntax in case upstream templates or older targets used ':'
+ ghostty_conf="$HOME/.config/ghostty/wallust.conf"
+ if [ -f "$ghostty_conf" ]; then
+ sed -i -E 's/^(\s*palette\s*=\s*)([0-9]{1,2}):/\1\2=/' "$ghostty_conf" 2>/dev/null || true
+ fi
+
# Phase 1: appearance + freshness
for _ in $(seq 1 100); do # up to ~10s
ok=1
diff --git a/config/hypr/scripts/WallustSwww.sh b/config/hypr/scripts/WallustSwww.sh
index 7090b84c..421b84f8 100755
--- a/config/hypr/scripts/WallustSwww.sh
+++ b/config/hypr/scripts/WallustSwww.sh
@@ -61,3 +61,8 @@ mkdir -p "$HOME/.config/ghostty" || true
# Run wallust (silent) to regenerate templates defined in ~/.config/wallust/wallust.toml
# -s is used in this repo to keep things quiet and avoid extra prompts
wallust run -s "$wallpaper_path" || true
+
+# Normalize Ghostty palette syntax in case ':' was used by older files
+if [ -f "$HOME/.config/ghostty/wallust.conf" ]; then
+ sed -i -E 's/^(\s*palette\s*=\s*)([0-9]{1,2}):/\1\2=/' "$HOME/.config/ghostty/wallust.conf" 2>/dev/null || true
+fi
diff --git a/copy.sh b/copy.sh
index 9de8677c..34a4e543 100755
--- a/copy.sh
+++ b/copy.sh
@@ -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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage