Skip to content

Keep an omarchy-custom Plymouth theme across omarchy-settings upgrades - #1572

Closed
itxkarthik wants to merge 6 commits into
omacom:masterfrom
itxkarthik:keep-custom-plymouth-theme
Closed

itxkarthik wants to merge 6 commits into
omacom:masterfrom
itxkarthik:keep-custom-plymouth-theme

Conversation

@itxkarthik

@itxkarthik itxkarthik commented Oct 24, 2026 •

Copy link
Copy Markdown

Companion to omacom/omarchy#16500, which fixes omacom/omarchy#16473 (the Style > Unlock selection reverting on every omarchy-settings upgrade).

Problem

After omacom/omarchy#16500, a selected unlock screen is published as an omarchy-custom Plymouth theme that no package owns, and activated with plymouth-set-default-theme omarchy-custom. But _etc_overrides_apply copies Omarchy's plymouthd.conf (Theme=omarchy) over /etc/plymouth/plymouthd.conf on every install and upgrade, so the selection would still be switched back.

Change

In both omarchy-settings.install and omarchy-settings-dev.install: if the live plymouthd.conf has Theme=omarchy-custom and /usr/share/plymouth/themes/omarchy-custom/omarchy-custom.plymouth exists, Omarchy's plymouthd.conf is still copied in, then Theme= is set back to omarchy-custom. Every other case behaves as before: a missing custom theme, the default theme, or any other theme all reset to omarchy. Any other settings Omarchy ships in plymouthd.conf still apply.

Testing

  • New tests/settings-plymouth-theme.sh, added to CI, runs the real _etc_overrides_apply of both scriptlets against a fake root in five cases: custom selected and installed (kept, with the rest of the shipped plymouthd.conf still restored), custom selected but theme removed, the default theme, the default with a leftover custom dir, and another theme. The last four reset to omarchy as before. 10/10 pass; on the base scriptlets the first case fails.
  • tests/settings-runtime-profile.sh, tests/settings-boot-config.sh, and tests/passwordless-package-lifecycle.py pass.
  • Not built into a package or checked on real hardware.

🤖 Generated with Claude Code

The etc-overrides scriptlet copies Omarchy's plymouthd.conf over the live
one on every upgrade, which resets Theme= to omarchy. Style > Unlock now
publishes its selection as the unowned omarchy-custom theme
(omacom/omarchy#16473), so keep Theme=omarchy-custom while that theme is
installed and restore everything else as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 24, 2026 16:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@greptile-apps

greptile-apps Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge; no actionable issues remain.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues remain.

Summary

Both settings packages keep an installed, selected omarchy-custom theme while restoring the other shipped Plymouth settings.

  • Settings upgrades keep an installed custom unlock screen selected.

Reviews (5) · Last reviewed commit: "Merge master into keep-custom-plymouth-t..." · Reviewed by Greptile

Run the real _etc_overrides_apply of both settings scriptlets against a
fake root: an installed omarchy-custom theme stays selected while the rest
of Omarchy's plymouthd.conf is restored, and every other case resets to
omarchy as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@itxkarthik

Copy link
Copy Markdown
Author

Could a maintainer add build-approved when there's a chance? The Tests and Build runs from October were never released, so they timed out with no jobs, and nothing on this PR has run in CI yet.

I've merged master into the branch (no conflicts, including #1857's change to the same .install files). Locally on d98f29b4:

  • tests/settings-plymouth-theme.sh passes 10/10 for both omarchy-settings and omarchy-settings-dev, and fails against the unchanged scriptlet (Theme=omarchy comes back).
  • tests/settings-boot-config.sh and tests/settings-runtime-profile.sh still pass.

This is the package half of omacom/omarchy#16500: without it, the upgrade scriptlet puts Theme=omarchy back into plymouthd.conf, so the selected unlock screen only survives on SDDM. omarchybot's verification on #16500 tested the two together.

_etc_overrides_apply now checks for an installed omarchy-custom Plymouth
theme, so the test's sandbox has to rewrite that path as well; otherwise its
guard sees a system path and refuses to run.
@itxkarthik

Copy link
Copy Markdown
Author

Closing this: omacom/omarchy#20404 replaced Plymouth with the new QML unlock and splash screen, so keeping Theme=omarchy-custom in plymouthd.conf is no longer needed. Its omarchy half, omacom/omarchy#16500, is closed for the same reason. Thanks!

@itxkarthik itxkarthik closed this Nov 30, 2026
@itxkarthik
itxkarthik deleted the keep-custom-plymouth-theme branch November 30, 2026 13:47
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.

Style → Unlock (Plymouth) selection reverts to default on every omarchy-settings upgrade

2 participants