breeze-grub/breeze-grub-6.0.0-theme-openmamba.patch

71 lines
2.8 KiB
Diff

--- breeze-grub-6.0.0/breeze/theme.txt 2024-02-21 16:39:35.000000000 +0100
+++ breeze-grub-6.0.0.patched/breeze/theme.txt 2024-03-02 12:19:52.004416930 +0100
@@ -13,7 +13,12 @@
message-font: "Unifont Regular 14"
message-color: "#7f8c8d"
message-bg-color: "#4d4d4d" # TODO: whatever is this for?
-desktop-color: "#000000" # black
+#desktop-color: "#000000" # FIXME: using desktop-image to workaround a bug
+desktop-image: "background.png"
+terminal-left: "0"
+terminal-top: "0"
+terminal-width: "100%"
+terminal-height: "100%"
# title
# NOTE: can't put this in a vbox because GRUB is crap and item highlighting
@@ -26,13 +31,13 @@
text = "Select Operating System"
align = "center"
font = "Unifont Bold 16"
- color = "#ffffff"
+ color = "#35ff35"
}
# Show the boot menu
+ boot_menu {
- left = 50%-200
- width = 400
+ left = 50%-360
+ width = 720
# NB: this is scooped upwards from the middle.
# effectively 50px are below and the remaining 150 above
top = 50%-150
@@ -48,17 +53,17 @@
item_font = "Unifont Regular 16"
item_color = "#7f8c8d"
selected_item_font = "Unifont Bold 16"
- selected_item_color = "#ffffff"
+ selected_item_color = "#35ff35"
}
+ vbox {
- left = 50%-200 # same as menu
+ left = 50%-360 # same as menu
top = 50%+113 # (50+16+19+28) half menu + spacer + progress + spacer
- width = 400 # same as menu
- + label { width = 400 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[Enter] Boot the selected OS" }
- + label { width = 400 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[Up and Down Key] navigation" }
- + label { width = 400 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[E] Edit Selection" }
- + label { width = 400 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[C] GRUB Command Line" }
+ width = 720 # same as menu
+ + label { width = 720 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[Enter] Boot the selected OS" }
+ + label { width = 720 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[Up and Down Key] navigation" }
+ + label { width = 720 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[E] Edit Selection" }
+ + label { width = 720 align = "center" color = "#7f8c8d" font = "Unifont Regular 14" text = "[C] GRUB Command Line" }
}
# Show a styled horizontal progress bar
@@ -76,9 +81,9 @@
# Show text progress bar
+ progress_bar {
id = "__timeout__"
- left = 50%-200 # same as menu
+ left = 50%-360 # same as menu
top = 50%+66 # (50+16) half menu + spacer
- width = 400 # same as menu
+ width = 720 # same as menu
height = 19 # 14pt
show_text = true
font = "Unifont Regular 14"