Skip to content

fix: persist wallpapers to Application Support instead of temp directory#26

Merged
rvanbaalen merged 1 commit intomainfrom
claude/fix-wallpaper-persistence-SPVlo
Dec 18, 2025
Merged

fix: persist wallpapers to Application Support instead of temp directory#26
rvanbaalen merged 1 commit intomainfrom
claude/fix-wallpaper-persistence-SPVlo

Conversation

@rvanbaalen
Copy link
Collaborator

@rvanbaalen rvanbaalen commented Dec 18, 2025

Wallpaper images were being saved to the system temporary directory
(/var/folders/.../T/), which gets cleaned up on system restart. This
caused users' wallpapers to reset after rebooting.

Changes:

  • Add getWallpapersDirectory() to create persistent storage at
    ~/Library/Application Support/SpreadPaper/wallpapers/
  • Use deterministic filenames based on screen name instead of UUIDs
  • Add proper cleanup of old wallpaper files before saving new ones
  • Add error handling with informative logging

Closes #10

Wallpaper images were being saved to the system temporary directory
(/var/folders/.../T/), which gets cleaned up on system restart. This
caused users' wallpapers to reset after rebooting.

Changes:
- Add getWallpapersDirectory() to create persistent storage at
  ~/Library/Application Support/SpreadPaper/wallpapers/
- Use deterministic filenames based on screen name instead of UUIDs
- Add proper cleanup of old wallpaper files before saving new ones
- Add error handling with informative logging
@rvanbaalen rvanbaalen merged commit faba55f into main Dec 18, 2025
@rvanbaalen rvanbaalen deleted the claude/fix-wallpaper-persistence-SPVlo branch December 18, 2025 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Loose dual screen wall paper after shutdown on MacOS 26.1.

2 participants