From a08ffb69ac7553350e1e5259bb0101ea997a70ae Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 29 Sep 2026 10:33:26 +0200 Subject: Thin the countdown bar to 4px GRUB 2.14 draws the progress bar at least 28px tall regardless of its height property (measured with ./preview; not explained by the font or the minimal-size code in the source). Keep the component at 28px and draw it with pixmap styles whose top slice is a 24px transparent strip, leaving a 4px surface track filled with accent. Co-Authored-By: Claude Opus 5.5 --- build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build') diff --git a/build b/build index 4a6c1d0..5e14ce0 100755 --- a/build +++ b/build @@ -147,6 +147,10 @@ def assemble(stage, text, c, wallpaper, fonts): "select_w.png": (4, 1, (*c["accent"], 255)), "select_c.png": (1, 1, (*c["surface"], 255)), "select_e.png": (8, 1, (*c["surface"], 255)), + # The countdown bar: see theme.txt.in for why the top slice is clear. + "bar_n.png": (1, 24, (0, 0, 0, 0)), + "bar_c.png": (1, 1, (*c["surface"], 255)), + "hl_c.png": (1, 1, (*c["accent"], 255)), } for s in ("nw", "n", "ne", "w", "c", "e", "sw", "s", "se"): slices[f"terminal_box_{s}.png"] = (1, 1, (*c["bg_deep"], 255)) -- cgit v1.2.3