Hi, here is my attempt to provide the patch using git format-patch and git send-mail.
This extends the videoinfo module to provide a --set argument which contains the currently active video resolution. Documentation could be extended as follows: Command: videoinfo [--set var | [WxH]xD] Retrieve available video modes. If --set is given, assign the currently active resolution to var. If --set is not provided the available video modes are listed. If resolution is given, show only matching modes. scholz (1): feat: add --set argument to videoinfo to write current resolution to grub env var grub-core/commands/videoinfo.c | 92 +++++++++++++++++++++++----------- 1 file changed, 63 insertions(+), 29 deletions(-) -- 2.34.1 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel