aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-07-22 13:05:21 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:40:35 -0700
commitfa4c93ed241a80571e2ea8efc4213542b4d494fb (patch)
tree9a888a05de900a69210caddd05e68a436b79c234 /copy.sh
parent0a14326757112d9c0bb0fe68ce90e43eb88f2da0 (diff)
Fix kitty cfg restore, gated wallust preseve theme
Signed-off-by: Don Williams <don.e.williams@gmail.com> On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: copy.sh modified: scripts/lib_copy.sh
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/copy.sh b/copy.sh
index eb994940..5258ce0a 100755
--- a/copy.sh
+++ b/copy.sh
@@ -505,6 +505,7 @@ if [ ! -d "${XDG_CONFIG_HOME:-$HOME/.config}" ]; then
fi
seed_upgrade_userconfigs "$LOG"
capture_upgrade_runtime_selection_state
+capture_runtime_personal_state "$LOG"
printf "${INFO} - copying dotfiles ${SKY_BLUE}first${RESET} part\n"
copy_phase1 "$LOG" "$RUN_MODE"
@@ -698,6 +699,7 @@ restore_user_scripts "$LOG" "$EXPRESS_MODE"
printf "\n%.0s" {1..1}
restore_hypr_files "$LOG" "$EXPRESS_MODE"
+restore_runtime_personal_state "$LOG"
printf "\n%.0s" {1..1}
printf "\n%.0s" {1..1}
@@ -880,7 +882,11 @@ wallust_args=()
if [ -f "$DOTFILES_DIR/config/hypr/scripts/WallustConfig.sh" ]; then
. "$DOTFILES_DIR/config/hypr/scripts/WallustConfig.sh"
fi
-wallust "${wallust_args[@]}" run -s "$wallpaper" 2>&1 | tee -a "$LOG"
+if [ "$RUN_MODE" != "install" ] && [ "${KOOLDOTS_RUNTIME_THEME_RESTORED:-0}" -eq 1 ]; then
+ echo "${NOTE} Preserved existing Wallust/global theme colors from pre-upgrade state; skipping wallust regeneration." 2>&1 | tee -a "$LOG"
+else
+ wallust "${wallust_args[@]}" run -s "$wallpaper" 2>&1 | tee -a "$LOG"
+fi
if is_nixos && ! command -v waybar-weather >/dev/null 2>&1; then
echo "${WARN} waybar-weather binary is missing." 2>&1 | tee -a "$LOG"
echo "Install the current NixOS-Hyprland version to install waybar-weather applet for Waybar" 2>&1 | tee -a "$LOG"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage