Skip to content

fix: resolve relative wallpaper paths before creating symlink#5612

Merged
dhh merged 1 commit intobasecamp:devfrom
alexoxte:bug/omarchy-theme-bg-set
May 6, 2026
Merged

fix: resolve relative wallpaper paths before creating symlink#5612
dhh merged 1 commit intobasecamp:devfrom
alexoxte:bug/omarchy-theme-bg-set

Conversation

@alexoxte
Copy link
Copy Markdown
Contributor

@alexoxte alexoxte commented May 6, 2026

Fixes an issue where relative wallpaper paths produced broken symlinks.

The script was passing the user-provided path directly to ln -s, which caused relative paths to be resolved relative to the symlink location instead of the caller's current working directory.

This change resolves the provided path with realpath before creating the symlink.

Before:

omarchy-theme-bg-set wallpapers/bg.jpg

Would create a broken symlink inside: ~/.config/omarchy/current/background

After: The symlink correctly points to the absolute resolved image path.

Copilot AI review requested due to automatic review settings May 6, 2026 03:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dhh dhh merged commit 0114e79 into basecamp:dev May 6, 2026
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.

3 participants