aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-29 10:22:53 +0200
committerDanilo M. <danix@danix.xyz>2026-09-29 10:22:53 +0200
commit27c22afb02a819c8d9e28c9232e515716e92f263 (patch)
treebcf726a42a271563131044d0283b6b735e457403 /README.md
parent37d5d83c5b833394d909728ab19f9a1a37c94803 (diff)
downloadgrub-theme-udt-27c22afb02a819c8d9e28c9232e515716e92f263.tar.gz
grub-theme-udt-27c22afb02a819c8d9e28c9232e515716e92f263.zip
Fix panel covering the menu; add QEMU preview
GRUB paints theme components in reverse declaration order, so the panel image declared first was drawn on top of the menu and labels, dimming them. Declare it last. preview boots dist/udt in real GRUB x86_64-efi under QEMU and OVMF and screenshots it, which is how the ordering bug was found. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index bcb0528..104863d 100644
--- a/README.md
+++ b/README.md
@@ -48,9 +48,13 @@ and Inconsolata Nerd Font Mono.
## Test
./build --selftest
+ ./preview # headless, screenshot to dist/preview.png
+ ./preview --live # QEMU window: move through the menu, 'c' for the console
+ ./preview 1920x1080 # another mode
-There is no GRUB emulator here, so the visual check is a reboot. Keep the
-previous `GRUB_THEME` line to go back to.
+`preview` boots `dist/udt` in real GRUB (x86_64-efi) under QEMU and OVMF, with
+stand-in menu entries, so the theme can be checked before root installs it.
+It needs `qemu-system-x86_64`, OVMF in `/usr/share/OVMF` and `grub-mkimage`.
## License