feat: add dynamic background rotation with awww transitions#6129
Open
Rlucca224 wants to merge 1 commit into
Open
feat: add dynamic background rotation with awww transitions#6129Rlucca224 wants to merge 1 commit into
Rlucca224 wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an optional dynamic wallpaper rotation system to Omarchy, integrating a new “Dynamic” mode into the background menu and driving periodic background changes via a user systemd timer using awww transitions.
Changes:
- Extend
omarchy-menuwith a Static/Dynamic background selection and dynamic background configuration submenus. - Add dynamic background scripts + default config, plus user systemd service/timer units to run rotation periodically.
- Add
awwwas a base dependency and include a migration to seed config + units for existing installs.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 5 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| migrations/1780929365.sh | Seeds dynamic-bg config + user systemd units for existing installs. |
| install/omarchy-base.packages | Adds awww dependency for animated transitions. |
| config/systemd/user/omarchy-dynamic-bg.timer | Introduces periodic scheduling for background rotation. |
| config/systemd/user/omarchy-dynamic-bg.service | Runs the rotation script as a oneshot service. |
| config/omarchy/dynamic-bg/dynamic-bg.conf | Provides defaults for dynamic background behavior. |
| bin/omarchy-menu | Adds UI flows to enable/configure dynamic backgrounds. |
| bin/omarchy-dynamic-bg-toggle-fullscreen | Toggles the stop-on-fullscreen setting in config. |
| bin/omarchy-dynamic-bg-toggle | Enables/disables the timer and flips the enabled flag in config. |
| bin/omarchy-dynamic-bg-set-transition | Updates transition type/duration values in config. |
| bin/omarchy-dynamic-bg-set-interval | Updates interval in config and the user timer unit. |
| bin/omarchy-dynamic-bg-rotate | Performs the wallpaper rotation using awww per monitor. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+8
to
+12
| for unit in omarchy-dynamic-bg.service omarchy-dynamic-bg.timer; do | ||
| if [[ ! -f $HOME/.config/systemd/user/$unit ]]; then | ||
| cp "$OMARCHY_PATH/config/systemd/user/$unit" "$HOME/.config/systemd/user/$unit" | ||
| fi | ||
| done |
| @@ -0,0 +1,6 @@ | |||
| DYNAMIC_BG_ENABLED=true | |||
Comment on lines
+1
to
+6
| [Unit] | ||
| Description=Dynamic background rotation with awww | ||
|
|
||
| [Service] | ||
| Type=oneshot | ||
| ExecStart=%h/.local/share/omarchy/bin/omarchy-dynamic-bg-rotate |
75c6ee3 to
19da9a9
Compare
19da9a9 to
a9a06e8
Compare
a9a06e8 to
7b00c3e
Compare
7b00c3e to
e96c302
Compare
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.
Summary
Adds an optional dynamic background system to Omarchy that rotates wallpapers with smooth animated transitions using `awww`.
Features
Files changed