Skip to content

Feat: blurred wallpaper variant and save-existing-theme flow - #125

Open
tristonarmstrong wants to merge 17 commits into
omacom:mainfrom
tristonarmstrong:feature/wallpaper-blur
Open

Feat: blurred wallpaper variant and save-existing-theme flow#125
tristonarmstrong wants to merge 17 commits into
omacom:mainfrom
tristonarmstrong:feature/wallpaper-blur

Conversation

@tristonarmstrong

@tristonarmstrong tristonarmstrong commented Aug 28, 2026

Copy link
Copy Markdown

This PR is meant as a seed planter — to start the conversation. I also looked at the existing blur functionality, and although it does blur, it's... not great... and doesn't really do what I wanted + its kinda hidden away. This is a single button, front and center, and offers a gorgeous background blur for those aesthetics nuts out there.

What

  • Adds a heavy Gaussian blur wallpaper variant via BlurWallpaper — the blurred JPEG is applied as the desktop background while the original stays untouched for palette extraction
  • Tracks OriginalWallpaperPath through the full theme pipeline so both the blurred and unblurred copies land in backgrounds/ (desktop cycler can switch between them)
  • Reapplies the wallpaper explicitly after omarchy-theme-set to prevent it cycling to a stock image
  • Adds ThemeFolderExists to let the frontend offer updating an existing saved theme in place

Why

Wallpapers with high-frequency detail (text, sharp edges, busy patterns) clash with overlaid UI elements. A blurred variant gives a clean backdrop while preserving palette extraction from the sharp source.

Testing

  • TestBlurWallpaperCreatesVariant, TestBlurWallpaperRejectsNonImage, TestBlurWallpaperRejectsMissingFile
  • TestPrepareThemeDirCopiesWallpaperVariants (blurred + original both copied)
  • TestThemeFolderExists (omarchy + saved dirs, case normalization, invalid names)
  • make test and npm run check pass
image image

@tristonarmstrong tristonarmstrong changed the title Feature/wallpaper blur Add blurred wallpaper variant and save-existing-theme flow Aug 28, 2026
@tristonarmstrong

Copy link
Copy Markdown
Author

damn out of date already.. i worked on this last night lmfao will sync

@tristonarmstrong

Copy link
Copy Markdown
Author

theres lots of formatting changes.. ill work on undoing those - my b

@tristonarmstrong tristonarmstrong changed the title Add blurred wallpaper variant and save-existing-theme flow Feat: blurred wallpaper variant and save-existing-theme flow Aug 28, 2026
Apply sends a backend-generated blurred JPEG instead of the original
while extraction keeps sampling the unblurred source. Includes the
regenerated Wails bindings (reformatted by the v2.15 CLI; also carries
the ThemeFolderExists and originalWallpaperPath fields used by the
following commits).
@tristonarmstrong
tristonarmstrong marked this pull request as ready for review August 29, 2026 00:12
@tristonarmstrong

tristonarmstrong commented Aug 29, 2026

Copy link
Copy Markdown
Author

Please review, have your AI review. Let me know what you think, if its something you think is worth including.. I absolutely LOVE it but i can understand if its not something youere into

Feel free to commit straight to this if you have changes you wanna make or just let me know and i can do it

@bjarneo

bjarneo commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

I misunderstood your post on X. Will have a look at this as soon as I have time!

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.

2 participants