diff options
| author | Bobby <[email protected]> | 2025-11-28 12:24:46 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-11-28 12:24:46 +0530 |
| commit | 41328772dd563f7a638ba752a92f392fd1b592d7 (patch) | |
| tree | ddfe8677318db53ba65a388bfd25d7c011049640 /boot | |
| parent | 139985dda91af111ade503bd4bee1e9f7f36b7b3 (diff) | |
| download | akiba-41328772dd563f7a638ba752a92f392fd1b592d7.tar.xz akiba-41328772dd563f7a638ba752a92f392fd1b592d7.zip | |
akiba font and theme for grub
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/grub/grub.cfg | 17 | ||||
| -rw-r--r-- | boot/grub/themes/akiba/f/akiba.pf2 | bin | 0 -> 7629 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/frame_n.png | bin | 0 -> 603 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/frame_ne.png | bin | 0 -> 671 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/frame_nw.png | bin | 0 -> 727 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/frame_s.png | bin | 0 -> 591 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/frame_se.png | bin | 0 -> 686 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/frame_sw.png | bin | 0 -> 677 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/inbox_c.png | bin | 0 -> 557 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/inbox_e.png | bin | 0 -> 560 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/inbox_w.png | bin | 0 -> 564 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/selected_blob_c.png | bin | 0 -> 4178 bytes | |||
| -rw-r--r-- | boot/grub/themes/akiba/theme.txt | 66 |
13 files changed, 79 insertions, 4 deletions
diff --git a/boot/grub/grub.cfg b/boot/grub/grub.cfg index 54e04b8..c984c9e 100644 --- a/boot/grub/grub.cfg +++ b/boot/grub/grub.cfg @@ -1,6 +1,19 @@ set timeout=5 set default=0 +# Set graphics mode +set gfxmode=1024x768x32 +insmod all_video +insmod gfxterm +terminal_output gfxterm + +# Load image format modules +insmod png + +# Load theme +insmod gfxmenu +set theme=/boot/grub/themes/akiba/theme.txt + insmod part_gpt insmod part_msdos insmod fat @@ -8,10 +21,6 @@ insmod fat search --no-floppy --set=root --label AKIBA menuentry "Akiba" { - set gfxmode=1024x768x32 - insmod all_video - insmod gfxterm - terminal_output gfxterm multiboot2 /system/akiba/mirai.akibakernel boot }
\ No newline at end of file diff --git a/boot/grub/themes/akiba/f/akiba.pf2 b/boot/grub/themes/akiba/f/akiba.pf2 Binary files differnew file mode 100644 index 0000000..a85f589 --- /dev/null +++ b/boot/grub/themes/akiba/f/akiba.pf2 diff --git a/boot/grub/themes/akiba/frame_n.png b/boot/grub/themes/akiba/frame_n.png Binary files differnew file mode 100644 index 0000000..7e1c8da --- /dev/null +++ b/boot/grub/themes/akiba/frame_n.png diff --git a/boot/grub/themes/akiba/frame_ne.png b/boot/grub/themes/akiba/frame_ne.png Binary files differnew file mode 100644 index 0000000..0fb2223 --- /dev/null +++ b/boot/grub/themes/akiba/frame_ne.png diff --git a/boot/grub/themes/akiba/frame_nw.png b/boot/grub/themes/akiba/frame_nw.png Binary files differnew file mode 100644 index 0000000..48385f4 --- /dev/null +++ b/boot/grub/themes/akiba/frame_nw.png diff --git a/boot/grub/themes/akiba/frame_s.png b/boot/grub/themes/akiba/frame_s.png Binary files differnew file mode 100644 index 0000000..5402576 --- /dev/null +++ b/boot/grub/themes/akiba/frame_s.png diff --git a/boot/grub/themes/akiba/frame_se.png b/boot/grub/themes/akiba/frame_se.png Binary files differnew file mode 100644 index 0000000..3d66a61 --- /dev/null +++ b/boot/grub/themes/akiba/frame_se.png diff --git a/boot/grub/themes/akiba/frame_sw.png b/boot/grub/themes/akiba/frame_sw.png Binary files differnew file mode 100644 index 0000000..d37754e --- /dev/null +++ b/boot/grub/themes/akiba/frame_sw.png diff --git a/boot/grub/themes/akiba/inbox_c.png b/boot/grub/themes/akiba/inbox_c.png Binary files differnew file mode 100644 index 0000000..6bf7e35 --- /dev/null +++ b/boot/grub/themes/akiba/inbox_c.png diff --git a/boot/grub/themes/akiba/inbox_e.png b/boot/grub/themes/akiba/inbox_e.png Binary files differnew file mode 100644 index 0000000..02f320a --- /dev/null +++ b/boot/grub/themes/akiba/inbox_e.png diff --git a/boot/grub/themes/akiba/inbox_w.png b/boot/grub/themes/akiba/inbox_w.png Binary files differnew file mode 100644 index 0000000..8cc5c54 --- /dev/null +++ b/boot/grub/themes/akiba/inbox_w.png diff --git a/boot/grub/themes/akiba/selected_blob_c.png b/boot/grub/themes/akiba/selected_blob_c.png Binary files differnew file mode 100644 index 0000000..5664fa3 --- /dev/null +++ b/boot/grub/themes/akiba/selected_blob_c.png diff --git a/boot/grub/themes/akiba/theme.txt b/boot/grub/themes/akiba/theme.txt new file mode 100644 index 0000000..510c55e --- /dev/null +++ b/boot/grub/themes/akiba/theme.txt @@ -0,0 +1,66 @@ +title-text: "" +desktop-color: "#000000" +terminal-font: "VGA Regular 16" + +#menu ++ boot_menu { + left = 50%-284 + top = 50%-62 + width = 568 + height = 124 + item_font = "Akiba" + selected_item_font = "Akiba" + icon_width = 4 + item_height = 20 + item_padding = 0 + item_icon_space = 0 + item_spacing = 1 + selected_item_pixmap_style = "selected_blob_*.png" + scrollbar = true + scrollbar_width = 0 + item_color = "#ffffff" + selected_item_color = "#ffffff" + + menu_pixmap_style = "inbox_*.png" +} + +# "Welcome to Akiba Boot Menu" ++ canvas { + + left = 50%-284 + top = 50%-62-56 + width = 568 + height = 56 + + + label { left = 0 top = 22 width = 100% height = 16 color = "white" align = "center" text = "Welcome to Akiba Boot Menu" font = "Akiba" } + + + image { file = "frame_s.png" left = 8 top = 100%-12 width = 100%-16 height = 12 } + + image { file = "frame_nw.png" left = 0 top = 0 } + + image { file = "frame_n.png" left = 8 top = 0 width = 100%-16 height = 12 } + + image { file = "frame_ne.png" left = 100%-8 top = 0 } + + image { file = "inbox_e.png" left = 100%-16 top = 12 width = 16 height = 100%-12 } + + image { file = "inbox_w.png" left = 0 top = 12 width = 16 height = 100%-12 } + + image { file = "inbox_c.png" left = 16 top = 12 width = 100%-32 height = 100%-24 } +} + +# "UP and DOWN to move selection ..." ++ canvas { + + left = 50%-284 + top = 50%+62 + width = 568 + height = 73 + + + label { left = 0 top = 21 width = 100% height = 16 color = "white" align = "center" text = "UP and DOWN to move selection" font = "Akiba" } + + label { left = 0 top = 39 width = 100% height = 16 color = "white" align = "center" text = "ENTER to boot from selected device" font = "Akiba" } + + + image { file = "frame_n.png" left = 8 top = 0 width = 100%-16 height = 12 } + + image { file = "inbox_e.png" left = 100%-16 top = 0 width = 16 height = 100%-12 } + + image { file = "frame_se.png" left = 100%-8 top = 100%-12 } + + image { file = "frame_s.png" left = 8 top = 100%-12 width = 100%-16 height = 12 } + + image { file = "frame_sw.png" left = 0 top = 100%-12 } + + image { file = "inbox_w.png" left = 0 top = 0 width = 16 height = 100%-12 } + + image { file = "inbox_c.png" left = 16 top = 12 width = 100%-32 height = 100%-24 } + +} + |
