diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-29 10:22:53 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-29 10:22:53 +0200 |
| commit | 27c22afb02a819c8d9e28c9232e515716e92f263 (patch) | |
| tree | bcf726a42a271563131044d0283b6b735e457403 /theme.txt.in | |
| parent | 37d5d83c5b833394d909728ab19f9a1a37c94803 (diff) | |
| download | grub-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 'theme.txt.in')
| -rw-r--r-- | theme.txt.in | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/theme.txt.in b/theme.txt.in index 91cda7d..b864a86 100644 --- a/theme.txt.in +++ b/theme.txt.in @@ -18,15 +18,6 @@ terminal-width: "100%" terminal-height: "100%" terminal-border: "0" -# The panel: bg_alt at ~85% alpha, stretched over the left quarter. -+ image { - left = 0 - top = 0 - width = 25% - height = 100% - file = "panel.png" -} - # %TITLE% is filled in by ./build from /etc/os-release. + label { left = 3% @@ -75,3 +66,14 @@ terminal-border: "0" bg_color = "@SURFACE@" border_color = "@SURFACE@" } + +# The panel: bg_alt at ~85% alpha, stretched over the left quarter. Last on +# purpose: GRUB paints components in reverse order, so the last one declared +# is the bottom layer. Declared first, it covers the menu and dims it. ++ image { + left = 0 + top = 0 + width = 25% + height = 100% + file = "panel.png" +} |
