Make the GRUB Theme
This commit is contained in:
parent
f38a769d48
commit
aea8d32948
@ -1,13 +1,32 @@
|
|||||||
set timeout=5
|
set timeout=5
|
||||||
set default=0
|
set default=0
|
||||||
|
set pager=1
|
||||||
|
|
||||||
insmod part_msdos
|
insmod part_msdos
|
||||||
set root='hd0,1'
|
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" {
|
menuentry "NANITE" {
|
||||||
set root='hd0,1'
|
set root='hd0,1'
|
||||||
insmod fat
|
insmod fat
|
||||||
multiboot2 /boot/nanite
|
multiboot2 /boot/nanite
|
||||||
echo "Booting NANITE..."
|
echo "Booting NANITE..."
|
||||||
boot
|
boot
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
grub/themes/nanite/background.png
Normal file
BIN
grub/themes/nanite/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
BIN
grub/themes/nanite/font10.pf2
Normal file
BIN
grub/themes/nanite/font10.pf2
Normal file
Binary file not shown.
BIN
grub/themes/nanite/font12.pf2
Normal file
BIN
grub/themes/nanite/font12.pf2
Normal file
Binary file not shown.
BIN
grub/themes/nanite/font14.pf2
Normal file
BIN
grub/themes/nanite/font14.pf2
Normal file
Binary file not shown.
40
grub/themes/nanite/theme.txt
Normal file
40
grub/themes/nanite/theme.txt
Normal 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"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user