Add apply wallpaper button#18
Merged
Merged
Conversation
saeedvaziry
commented
Oct 19, 2025
Comment on lines
+603
to
+604
| GLib.spawn_command_line_async('pkill -x swaybg'); | ||
| GLib.spawn_command_line_async(`swaybg -i "${wallpaperPath}" -m fill`); |
Contributor
Author
There was a problem hiding this comment.
Unfortunately omarchy doesn't have a built-in command to use that instead, So this will be a tech-debt maybe until omarchy implements it.
Owner
|
Good thinking about this one. I feel the button gets a bit..long? Other than that, it makes sense to me. Really important to nail the UX. Does only "Apply" make sense? |
Contributor
Author
|
Apply makes more sense yes. Feel free to change or I will do it later a bit |
Owner
|
Thank you. I'll go through the PR today and get it merged. I might adjust parts of it afterward for the reload bg part, as I need a system for more stuff here. Good starting point. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds an
Apply Wallpaperbutton next to theEditbutton after selecting the Wallpaper.Background
Sometimes you don't need to generate the whole theme, you just need to change the background image from the wallpaper you find.
This feature enables you to click and apply the wallpaper without changing the theme.
What it does?
Under the hood it symlinks the wallpaper path to
~/.config/omarchy/current/backgroundand then restartsswaybgwith the new wallpaper's path.Screenshot