diff options
| author | Don Williams <Don.e.williams@gmail.com> | 2026-07-22 15:50:21 -0400 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-08-29 21:41:13 -0700 |
| commit | 882733474df2706baf64a5805bf3abc1b1665548 (patch) | |
| tree | e0fe3c0b9321bd5a058729997ffd01b291970cee /scripts | |
| parent | 634bd53ddfa6dc08989c0f2656d7e9239f770393 (diff) | |
Fixed wallpaper being reset (hopefully)
Signed-off-by: Don Williams <Don.e.williams@gmail.com>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/lib_copy.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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:-}..." |
