OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
omarchy-theming high occasional DISPUTE

Make the SDDM login screen match the theme (and fix White's black-on-black greeter)

archhyprlandomarchyomarchy-4wayland
CORRECTED An auditor found the fix wrong or incomplete and rewrote it.
AUDIT NOTE

The mechanism is exactly right. bin/omarchy-plymouth-set pipes $OMARCHY_PATH/default/sddm/omarchy/Main.qml through sed -e "s/#1a1b26/#$bg_hex/g" -e "s/#ffffff/#$text_hex/g" into /usr/share/sddm/themes/omarchy/Main.qml. I fetched that template and it contains exactly one #1a1b26 (line 8, color: "#1a1b26", the root Rectangle) and zero #ffffff, so the second expression is dead for every theme except White, whose colors.toml is literally background="#ffffff", foreground="#000000", producing color: "#000000" on the first line grep -m1 finds. The failed-attempt assets really are recolored #f7768e, which is why only those and the logo stay visible. SDDM is absent from post_theme_commands, and omarchy-refresh-sddm really is sudo rm -rf /usr/share/sddm/themes/omarchy + copy of the package default. omarchy-plymouth-set-by-theme takes a theme name and gruvbox is a stock theme. Only defect: the closing line tells the reader to run omarchy plymouth preview bare. bin/omarchy-plymouth-preview requires four arguments (<background-hex> <text-hex> <logo.png> <output-path>) and exits 1 with a usage error otherwise. It does not derive preview-unlock.png from unlock.png on its own.

The cause above was not rewritten and may still contain the error described. The fix below is the corrected version.
RISK

omarchy-plymouth-set runs plymouth-set-default-theme omarchy and then rebuilds the initramfs (limine-mkinitcpio, or mkinitcpio -P). Do not interrupt it: a truncated initramfs will not boot, and on an encrypted root you lose the LUKS prompt. /usr/share/sddm/themes/omarchy is package-owned, so omarchy update can restore it and silently undo the sed patch. Re-check after an update. Never run omarchy-refresh-sddm expecting it to apply your theme. It deletes the themed greeter and copies the Tokyo Night default back.

Symptom

Every theme applies to the desktop but the login/logout screen is still Tokyo Night blue. On the White theme it is worse: after logging out you get what looks like a dead greeter: a black rectangle where the background, password field and lock glyph should be, with only the logo visible and the red "wrong password" assets showing on a failed attempt. grep -m1 'color:' /usr/share/sddm/themes/omarchy/Main.qml prints color: "#000000" even though the theme's background is #ffffff.

Cause

The SDDM greeter is not part of omarchy theme set at all. Nothing in post_theme_commands touches it. It is written only by bin/omarchy-plymouth-set (what Style > Unlock runs), which pipes $OMARCHY_PATH/default/sddm/omarchy/Main.qml through two sed expressions on the same stream (s/#1a1b26/#$bg_hex/g then s/#ffffff/#$text_hex/g) into /usr/share/sddm/themes/omarchy/Main.qml. The shipped template contains no #ffffff of its own (all greeter text is images), so the second expression is dead code for every theme except one: for White, bg_hex=ffffff, so the first expression's own output is immediately rewritten to the foreground #000000 (issue #7115, fix in #8469). The other half of the confusion is omarchy-refresh-sddm, which people reach for by name. It does sudo rm -rf on the theme directory and copies the package default back, so it restores the stock Tokyo Night greeter rather than applying your theme.

Fix

Keep every command as written, but replace the trailing sentence about generating the preview. A theme is listed under Style > Unlock when it ships preview-unlock.png (bin/omarchy-plymouth-list gates on that file alone), and unlock.png is what omarchy-plymouth-set-by-theme then applies, so ship both. Generate the preview explicitly, since omarchy-plymouth-preview takes four arguments:


THEME=~/.config/omarchy/themes/<name>
omarchy-plymouth-preview \
  "$(omarchy-theme-color --file $THEME/colors.toml background)" \
  "$(omarchy-theme-color --file $THEME/colors.toml foreground)" \
  $THEME/unlock.png \
  $THEME/preview-unlock.png

Also worth noting for the reader: omarchy-plymouth-set-by-theme rebuilds the initramfs (mkinitcpio -P or limine-mkinitcpio) and needs imagemagick's magick, so it is not instant.

Verify

grep -m1 'color:' /usr/share/sddm/themes/omarchy/Main.qml shows your theme's background hex, not #000000. Log out (or systemctl restart sddm from a TTY) and the greeter background, password field and lock glyph are visible and match the desktop.

Sources

sddm-greeter-not-following-theme-white-black-on-black