Make the GRUB Theme

This commit is contained in:
Tyler McGurrin 2025-06-06 22:20:14 -04:00
parent f38a769d48
commit aea8d32948
6 changed files with 60 additions and 1 deletions

View File

@ -1,9 +1,28 @@
set timeout=5
set default=0
set pager=1
insmod part_msdos
set root='hd0,1'
set gfxmode=800x600
insmod all_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_CA
insmod gettext
terminal_input console
terminal_output gfxterm
insmod gfxmenu
loadfont /boot/grub/themes/nanite/font10.pf2
loadfont /boot/grub/themes/nanite/font12.pf2
loadfont /boot/grub/themes/nanite/font14.pf2
set theme=/boot/grub/themes/nanite/theme.txt
export theme
insmod png
menuentry "NANITE" {
set root='hd0,1'
insmod fat

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,40 @@
# Nanite GRUB 2 Theme
message-font: "DEFCON Regular 14"
message-color: "#FFF"
terminal-font: "DEFCON Regular 12"
desktop-image: "background.png"
desktop-image-scale-method: "crop"
#boot menu
+ boot_menu {
left = 10%
width = 80%
top = 20%
height = 50%
item_font = "DEFCON Regular 12"
item_color = "#fff"
selected_item_font = "DEFCON Regular 14"
selected_item_color= "#f0f"
icon_height = 25
icon_width = 25
item_height = 26
item_padding = 0
item_icon_space = 0
item_spacing = 1
scrollbar = true
scrollbar_width = 20
}
+ label {
top = 100%-25
left = 0
width = 100%
height = 20
text = "@KEYMAP_MIDDLE@"
align = "center"
font = "DEFCON Regular 10"
color = "#FFF"
bg_color = "#000"
}