blob: 504b54f2c2c11fa7380066e2bb0190ee3925b277 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# 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 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"
}
|