# GRUB theme for the unified-desktop-theme family, scheme @SCHEME@. # Copyright (C) 2026 Danilo M. # Licensed under the GNU General Public License v2 only. # # udt-palette renders this to theme.txt; ./build assembles dist/udt/ from # that. The next line is read by ./build for the PNG colours; GRUB skips it. # udt: bg_alt=@BG_ALT@ bg_deep=@BG_DEEP@ surface=@SURFACE@ accent=@ACCENT@ title-text: "" desktop-image: "background.jpg" desktop-image-scale-method: "crop" desktop-color: "@BG@" terminal-font: "Inconsolata Nerd Font Mono Regular 18" terminal-box: "terminal_box_*.png" terminal-left: "0" terminal-top: "0" terminal-width: "100%" terminal-height: "100%" terminal-border: "0" # The title text is filled in by ./build: PRETTY_HOSTNAME from /etc/machine-info, # else NAME from /etc/os-release. + label { left = 3% top = 8% width = 19% text = "%TITLE%" font = "Noto Sans Bold 32" color = "@FG@" } + boot_menu { left = 2% top = 18% width = 21% height = 60% item_font = "Noto Sans Regular 24" item_color = "@FG_DIM@" selected_item_color = "@FG@" icon_width = 0 icon_height = 0 item_icon_space = 0 item_height = 48 item_padding = 12 item_spacing = 6 selected_item_pixmap_style = "select_*.png" scrollbar = false } + label { left = 3% top = 82% width = 19% id = "__timeout__" text = "Booting in %d seconds" font = "Noto Sans Regular 24" color = "@FG_FAINT@" } # GRUB 2.14 will not draw this bar under 28px tall, whatever height says # (measured in ./preview). So it is 28px with a 24px transparent top slice # in bar_n.png, leaving a 4px track: surface (bar_c), filled with accent # (hl_c). Change the height and bar_n.png together. + progress_bar { id = "__timeout__" left = 3% top = 85% width = 19% height = 28 bar_style = "bar_*.png" highlight_style = "hl_*.png" } # 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" }