grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/1] feat: add --set argument to videoinfo to write current resol


From: Markus Scholz
Subject: [PATCH 0/1] feat: add --set argument to videoinfo to write current resolution to grub env var
Date: Tue, 6 Dec 2022 15:48:47 +0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]