Recolour the Limine boot menu to match the current theme
The colour keys and values in /usr/share/omarchy/default/limine/limine.conf match the record exactly and are unchanged on quattro. omarchy-refresh-limine copies that file over /boot/limine.conf and then runs limine-update and limine-snapper-sync. Nothing in omarchy-theme-set touches /boot. Limine CONFIG.md (trunk) confirms every key name, the 8-colour term_palette order and TTRRGGBB for term_background. Two defects in the fix. First, /usr/lib/limine/limine-common-functions clears ENABLE_ENROLL_LIMINE_CONFIG after loading /etc/limine-entry-tool.conf and the drop-ins and honours it only from /etc/default/limine, so the record's three-file grep could report a yes that limine-enroll-config then ignores. Second, the script substituted command output straight into sed: a theme without accent, or any colour omarchy-theme-color cannot resolve, wrote empty values such as interface_branding_color: into the boot loader config, and set -e does not catch a failing substitution inside an argument. The corrected script resolves every value first, falls back from accent to blue, validates each as RRGGBB, and edits nothing on failure. It was dry-run here against a copy of the packaged limine.conf and changed only the ten colour lines. The cause's 'copied at install time' could not be confirmed, because the installer is not in the package and /boot is root-only, so the cause is reworded to what was confirmed. limine-entry-tool is a binary, so the claim that it preserves global options rests on Omarchy shipping those options in the same file it manages and was not read in source. Not run: anything under sudo, the enroll step, a reboot.
/boot/limine.conf is the boot loader configuration. The script edits only colour lines, validates every value first and keeps /boot/limine.conf.pre-theme, but a mistaken hand edit can leave a menu with no bootable entries, and recovering from that needs a live USB. With a config hash enrolled (ENABLE_ENROLL_LIMINE_CONFIG=yes in /etc/default/limine, common on Secure Boot setups), any edit without sudo limine-enroll-config makes Limine refuse the config. omarchy-refresh-limine overwrites the whole file, colours included.
Symptom
Whatever theme I pick, the Limine boot menu (the "Omarchy Bootloader" screen that lists the kernel and snapshot entries) stays dark navy with green header text, the Tokyo Night palette. On a light theme it is the only dark screen left.
Cause
The menu colours are fixed values in /boot/limine.conf, the same Tokyo Night values Omarchy ships in /usr/share/omarchy/default/limine/limine.conf: interface_branding_color, interface_help_color and interface_help_color_bright (9ece6a), term_background and backdrop (1a1b26), term_palette, term_palette_bright, term_foreground, term_foreground_bright and term_background_bright. Nothing in omarchy-theme-set or its post-theme commands touches /boot.
These are global options, and they are the safe part of the file to edit. limine-entry-tool (package limine-mkinitcpio-hook) manages the boot entries in that file. Kernel parameters do not live there: they are in /etc/limine-entry-tool.d/*.conf and the UKI. omarchy-refresh-limine moves the file to /boot/limine.conf.bak, copies the packaged default back and reruns limine-update, which also resets the colours.
Fix
**Omarchy 4.** Save this script and run it from a terminal after a theme change. It resolves the current palette through omarchy-theme-color, refuses to touch anything if a colour is missing or malformed, backs up the config and rewrites only the colour keys:
mkdir -p ~/.local/bin
cat > ~/.local/bin/limine-theme-sync <<'EOF'
#!/bin/bash
set -euo pipefail
c() { omarchy-theme-color "$@" | tr -d '#'; }
pal() { local out=() i; for i in "$@"; do out+=("$(c "color$i")"); done; local IFS=';'; echo "${out[*]}"; }
accent=$(c accent blue)
bg=$(c background)
fg=$(c foreground)
bright_fg=$(c bright_foreground)
lighter_bg=$(c lighter_background)
normal=$(pal 0 1 2 3 4 5 6 7)
bright=$(pal 8 9 10 11 12 13 14 15)
hex='^[0-9a-fA-F]{6}$'
palette='^([0-9a-fA-F]{6};){7}[0-9a-fA-F]{6}$'
for v in "$accent" "$bg" "$fg" "$bright_fg" "$lighter_bg"; do
[[ $v =~ $hex ]] || { echo "Unusable colour '$v' in the current theme. Nothing was changed." >&2; exit 1; }
done
for v in "$normal" "$bright"; do
[[ $v =~ $palette ]] || { echo "Unusable palette '$v' in the current theme. Nothing was changed." >&2; exit 1; }
done
conf=/boot/limine.conf
sudo cp "$conf" "$conf.pre-theme"
sudo sed -i -E \
-e "s/^(interface_branding_color:).*/\1 $accent/" \
-e "s/^(interface_help_color:).*/\1 $accent/" \
-e "s/^(interface_help_color_bright:).*/\1 $accent/" \
-e "s/^(term_background:).*/\1 $bg/" \
-e "s/^(backdrop:).*/\1 $bg/" \
-e "s/^(term_foreground:).*/\1 $fg/" \
-e "s/^(term_foreground_bright:).*/\1 $bright_fg/" \
-e "s/^(term_background_bright:).*/\1 $lighter_bg/" \
-e "s/^(term_palette:).*/\1 $normal/" \
-e "s/^(term_palette_bright:).*/\1 $bright/" \
"$conf"
sudo grep -E '^(interface_|term_|backdrop)' "$conf"
EOF
chmod +x ~/.local/bin/limine-theme-sync
~/.local/bin/limine-theme-sync
If the Limine config hash is enrolled, re-enroll after any edit or Limine will refuse the edited config. limine-mkinitcpio-hook reads this setting only from /etc/default/limine and ignores it in /etc/limine-entry-tool.conf and the drop-ins:
if grep -q '^ENABLE_ENROLL_LIMINE_CONFIG=yes' /etc/default/limine 2>/dev/null; then
sudo limine-enroll-config
fi
Do not put this in a theme-set hook. A theme change from the picker has no terminal for the sudo prompt, and hook failures are not shown.
**Plain Arch with Limine.** The same keys work in your limine.conf on the ESP. Limine looks next to its EFI binary first (for example /boot/EFI/limine/limine.conf with the ESP at /boot), then /boot/limine/limine.conf, /boot/limine.conf, /limine/limine.conf and /limine.conf on that volume. Set the RRGGBB values by hand. term_palette takes eight ;-separated colours (black, red, green, brown, blue, magenta, cyan, gray), and term_background also accepts TTRRGGBB with transparency.
Verify
sudo grep -E '^(interface_|term_|backdrop)' /boot/limine.conf shows the theme's hex values, and the boot menu uses them after a reboot. /boot/limine.conf.pre-theme holds the previous version.