diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-29 10:13:48 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-29 10:13:48 +0200 |
| commit | 7a243c8fca38b14d20124da064891b4eea5a5636 (patch) | |
| tree | 570bc7ea3415c20a022542fa71d7d2fe90eddbc4 | |
| parent | df0639ef214d21a621a3893afed25f1923898730 (diff) | |
| download | grub-theme-udt-7a243c8fca38b14d20124da064891b4eea5a5636.tar.gz grub-theme-udt-7a243c8fca38b14d20124da064891b4eea5a5636.zip | |
Add theme.txt template
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| -rw-r--r-- | theme.txt.in | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/theme.txt.in b/theme.txt.in new file mode 100644 index 0000000..91cda7d --- /dev/null +++ b/theme.txt.in @@ -0,0 +1,77 @@ +# GRUB theme for the unified-desktop-theme family, scheme @SCHEME@. +# Copyright (C) 2026 Danilo M. <danix@danix.xyz> +# 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 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% + 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@" +} + ++ progress_bar { + id = "__timeout__" + left = 3% + top = 87% + width = 19% + height = 4 + fg_color = "@ACCENT@" + bg_color = "@SURFACE@" + border_color = "@SURFACE@" +} |
