Repository navigation
Keep an omarchy-custom Plymouth theme across omarchy-settings upgrades - #1572
itxkarthik wants to merge 6 commits into
Conversation
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>
There was a problem hiding this comment.
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.
[Medium impact] The PR appears safe to merge; no actionable issues remain. SummaryBoth settings packages keep an installed, 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>
|
Could a maintainer add I've merged
This is the package half of omacom/omarchy#16500: without it, the upgrade scriptlet puts |
_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.
|
Closing this: omacom/omarchy#20404 replaced Plymouth with the new QML unlock and splash screen, so keeping |
Companion to omacom/omarchy#16500, which fixes omacom/omarchy#16473 (the Style > Unlock selection reverting on every
omarchy-settingsupgrade).Problem
After omacom/omarchy#16500, a selected unlock screen is published as an
omarchy-customPlymouth theme that no package owns, and activated withplymouth-set-default-theme omarchy-custom. But_etc_overrides_applycopies Omarchy'splymouthd.conf(Theme=omarchy) over/etc/plymouth/plymouthd.confon every install and upgrade, so the selection would still be switched back.Change
In both
omarchy-settings.installandomarchy-settings-dev.install: if the liveplymouthd.confhasTheme=omarchy-customand/usr/share/plymouth/themes/omarchy-custom/omarchy-custom.plymouthexists, Omarchy'splymouthd.confis still copied in, thenTheme=is set back toomarchy-custom. Every other case behaves as before: a missing custom theme, the default theme, or any other theme all reset toomarchy. Any other settings Omarchy ships inplymouthd.confstill apply.Testing
tests/settings-plymouth-theme.sh, added to CI, runs the real_etc_overrides_applyof both scriptlets against a fake root in five cases: custom selected and installed (kept, with the rest of the shippedplymouthd.confstill restored), custom selected but theme removed, the default theme, the default with a leftover custom dir, and another theme. The last four reset toomarchyas before. 10/10 pass; on the base scriptlets the first case fails.tests/settings-runtime-profile.sh,tests/settings-boot-config.sh, andtests/passwordless-package-lifecycle.pypass.🤖 Generated with Claude Code