@@ -43,12 +43,31 @@ function load_video {
|
||||
}
|
||||
|
||||
load_video
|
||||
if loadfont unicode; then
|
||||
set gfxmode=auto
|
||||
insmod gfxterm
|
||||
terminal_output gfxterm
|
||||
fi
|
||||
if loadfont unicode ; then
|
||||
if keystatus --shift ; then true ; else
|
||||
if [ "${grub_platform}" == "efi" ]; then
|
||||
insmod efi_gop
|
||||
insmod efi_uga
|
||||
else
|
||||
insmod vbe
|
||||
insmod vga
|
||||
fi
|
||||
insmod gfxterm
|
||||
set gfxmode=1024x768
|
||||
set gfxpayload=auto
|
||||
terminal_output gfxterm
|
||||
if terminal_output gfxterm ; then true ; else
|
||||
terminal gfxterm
|
||||
fi
|
||||
insmod gfxmenu
|
||||
loadfont ${prefix}/theme/dejavu_bold_14.pf2
|
||||
loadfont ${prefix}/theme/dejavu_mono_12.pf2
|
||||
insmod png
|
||||
|
||||
set theme=${prefix}/theme/theme.txt
|
||||
export theme
|
||||
fi
|
||||
fi
|
||||
set menu_color_normal=white/black
|
||||
set menu_color_highlight=white/red
|
||||
set color_normal=white/black
|
||||
|
||||
BIN
files/p1/boot/grub/theme/arc_logo.png
Normal file
BIN
files/p1/boot/grub/theme/arc_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
files/p1/boot/grub/theme/dejavu_bold_14.pf2
Normal file
BIN
files/p1/boot/grub/theme/dejavu_bold_14.pf2
Normal file
Binary file not shown.
BIN
files/p1/boot/grub/theme/dejavu_mono_12.pf2
Normal file
BIN
files/p1/boot/grub/theme/dejavu_mono_12.pf2
Normal file
Binary file not shown.
BIN
files/p1/boot/grub/theme/help_bar.png
Normal file
BIN
files/p1/boot/grub/theme/help_bar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
BIN
files/p1/boot/grub/theme/progress_bar/progress_bar_c.png
Normal file
BIN
files/p1/boot/grub/theme/progress_bar/progress_bar_c.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 142 B |
BIN
files/p1/boot/grub/theme/progress_bar/progress_bar_hl_c.png
Normal file
BIN
files/p1/boot/grub/theme/progress_bar/progress_bar_hl_c.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 142 B |
BIN
files/p1/boot/grub/theme/progress_bar/progress_bar_hl_n.png
Normal file
BIN
files/p1/boot/grub/theme/progress_bar/progress_bar_hl_n.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 462 B |
61
files/p1/boot/grub/theme/theme.txt
Normal file
61
files/p1/boot/grub/theme/theme.txt
Normal file
@@ -0,0 +1,61 @@
|
||||
# Arc Theme for GRUB2
|
||||
#
|
||||
# Copyright (C) 2024 AuxXxilium
|
||||
|
||||
#general settings
|
||||
title-text: ""
|
||||
desktop-color: "#333"
|
||||
|
||||
terminal-font: "Dejavu Sans Mono 12"
|
||||
terminal-left: "0"
|
||||
terminal-top: "0"
|
||||
terminal-width: "100%"
|
||||
terminal-height: "100%"
|
||||
terminal-border: "0"
|
||||
|
||||
#progress bar
|
||||
+ progress_bar {
|
||||
id = "__timeout__"
|
||||
left = 0
|
||||
top = 0
|
||||
height = 15
|
||||
width = 100%
|
||||
show_text = false
|
||||
|
||||
# just two vertical pixels of color #1793d1
|
||||
bar_style = "progress_bar/progress_bar_*.png"
|
||||
highlight_style = "progress_bar/progress_bar_hl_*.png"
|
||||
}
|
||||
|
||||
# arc logo
|
||||
+ image {
|
||||
top = 50%-200
|
||||
left = 50%-250
|
||||
file = "arc_logo.png"
|
||||
}
|
||||
|
||||
#boot menu
|
||||
+ boot_menu {
|
||||
left = 50%-150
|
||||
width = 500
|
||||
top = 50%+100
|
||||
height = 300
|
||||
|
||||
item_font = "DejaVu Sans Bold 14"
|
||||
item_color = "#999"
|
||||
selected_item_font = "DejaVu Sans Bold 14"
|
||||
selected_item_color= "#fff"
|
||||
|
||||
item_height = 26
|
||||
item_padding = 0
|
||||
item_icon_space = 0
|
||||
item_spacing = 1
|
||||
scrollbar = false
|
||||
}
|
||||
|
||||
#help bar at the bottom
|
||||
+ image {
|
||||
top = 100%-56
|
||||
left = 50%-175
|
||||
file = "help_bar.png"
|
||||
}
|
||||
Reference in New Issue
Block a user