12-15-2022, 12:49 PM
Hello Master Longpanda; How to write theme.txt in order for some information about computer hardware to appear in the main menu. is it possible?
e.g.
theme.txt
+ vbox {
left = 1%
top = 1%
+ hbox {
+ label {text = "SecureBoot" color = "#ffff00"}
+ label {text = "@$grub_uefi_version@" color = "#ffff00"}
}
+ hbox {
+ label {text = "Platform" color = "#ffff00"}
+ label {text = "@$grub_cpu-$grub_platform@" color = "#ffff00"}
}
+ hbox {
+ label {text = "RAM" color = "#ffff00"}
+ label {text = "@$grub_total_ram MB@" color = "#ffff00"}
}
+ hbox {
+ label {text = "Resolution" color = "#ffffff"}
+ label {text = "......." color = "#ffff00"}
}
}
e.g.
theme.txt
+ vbox {
left = 1%
top = 1%
+ hbox {
+ label {text = "SecureBoot" color = "#ffff00"}
+ label {text = "@$grub_uefi_version@" color = "#ffff00"}
}
+ hbox {
+ label {text = "Platform" color = "#ffff00"}
+ label {text = "@$grub_cpu-$grub_platform@" color = "#ffff00"}
}
+ hbox {
+ label {text = "RAM" color = "#ffff00"}
+ label {text = "@$grub_total_ram MB@" color = "#ffff00"}
}
+ hbox {
+ label {text = "Resolution" color = "#ffffff"}
+ label {text = "......." color = "#ffff00"}
}
}