From 882733474df2706baf64a5805bf3abc1b1665548 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Wed, 22 Jul 2026 15:50:21 -0400 Subject: Fixed wallpaper being reset (hopefully) Signed-off-by: Don Williams --- scripts/lib_copy.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/lib_copy.sh b/scripts/lib_copy.sh index 1cb37fb7..d496f2d7 100644 --- a/scripts/lib_copy.sh +++ b/scripts/lib_copy.sh @@ -218,6 +218,10 @@ restore_hypr_assets() { cp -r "$BACKUP_WALLPAPER_DIR" "$HYPR_DIR/" 2>&1 | tee -a "$log" echo "${OK:-[OK]} - Restored directory: ${MAGENTA:-}wallpaper_effects${RESET:-}" 2>&1 | tee -a "$log" fi + if [ -f "$BACKUP_HYPR_PATH/.initial_startup_done" ]; then + cp -f "$BACKUP_HYPR_PATH/.initial_startup_done" "$HYPR_DIR/.initial_startup_done" 2>&1 | tee -a "$log" + echo "${OK:-[OK]} - Preserved initial startup marker to avoid first-boot resets." 2>&1 | tee -a "$log" + fi else echo -e "\n${NOTE:-[NOTE]} Restoring ${SKY_BLUE:-}Animations & Monitor Profiles${RESET:-} into ${YELLOW:-}$HYPR_DIR${RESET:-}..." -- cgit v1.2.3