doc: Update to the new 'grub-theme' procedure.
This is a follow-up commit to 9cdb10d52e
:
gnu: grub: Allow a PNG image and replace "aspect-ratio" with "resolution".
* doc/guix.texi (Bootloader Configuration): Describe and use the 'grub-theme'
procedure instead of the removed '%default-theme' variable.
This commit is contained in:
parent
2ae11cd0a4
commit
0cbb5390e4
1 changed files with 4 additions and 4 deletions
|
@ -26983,14 +26983,14 @@ The GRUB @code{gfxmode} to set (a list of screen resolution strings, see
|
||||||
@end table
|
@end table
|
||||||
@end deftp
|
@end deftp
|
||||||
|
|
||||||
@defvr {Scheme Variable} %default-theme
|
@deffn {Scheme Procedure} grub-theme
|
||||||
This is the default GRUB theme used by the operating system if no
|
Return the default GRUB theme used by the operating system if no
|
||||||
@code{theme} field is specified in @code{bootloader-configuration}
|
@code{theme} field is specified in @code{bootloader-configuration}
|
||||||
record.
|
record.
|
||||||
|
|
||||||
It comes with a fancy background image displaying the GNU and Guix
|
It comes with a fancy background image displaying the GNU and Guix
|
||||||
logos.
|
logos.
|
||||||
@end defvr
|
@end deffn
|
||||||
|
|
||||||
For example, to override the default resolution, you may use something
|
For example, to override the default resolution, you may use something
|
||||||
like
|
like
|
||||||
|
@ -27000,7 +27000,7 @@ like
|
||||||
(bootloader-configuration
|
(bootloader-configuration
|
||||||
;; @dots{}
|
;; @dots{}
|
||||||
(theme (grub-theme
|
(theme (grub-theme
|
||||||
(inherit %default-theme)
|
(inherit (grub-theme))
|
||||||
(gfxmode '("1024x786x32" "auto"))))))
|
(gfxmode '("1024x786x32" "auto"))))))
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
|
|
Reference in a new issue