Ventoy boot menu - Printable Version +- Ventoy Forums (https://forums.ventoy.net) +-- Forum: Ventoy Plugin —— Ventoy 插件 (https://forums.ventoy.net/forumdisplay.php?fid=3) +--- Forum: Ventoy Plugin Forum (https://forums.ventoy.net/forumdisplay.php?fid=4) +--- Thread: Ventoy boot menu (/showthread.php?tid=2279) |
Ventoy boot menu - serhat100 - 12-15-2022 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"} } } RE: Ventoy boot menu - hyun9358 - 12-17-2022 doesn't work RE: Ventoy boot menu - nguyen ha thai trong - 12-18-2022 There are not many variables registered by ventoy for theme.txt, there are a few variables available: VTOY_HOTKEY_TIP, VTOY_MEM_DISK, VTOY_ISO_RAW, VTOY_GRUB2_MODE, VTOY_WIMBOOT_MODE, VTOY_ISO_UEFI_DRV, TIMEOUT_SHORTIFICATION RE: Ventoy boot menu - longpanda - 12-19-2022 I add @@XXXX for variable expansion in label component. Try this CI release: https://github.com/ventoy/Ventoy/actions/runs/3732973042 https://www.ventoy.net/en/doc_github_ci.html Code: + vbox { RE: Ventoy boot menu - serhat100 - 12-19-2022 (12-19-2022, 04:19 PM)longpanda Wrote: I add @@XXXX for variable expansion in label component.excellent...thank you so much master @longpanda. |