Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BI
Posts
2
Comments
425
Joined
2 yr. ago

  • You need to add class to this line:

     
            echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
    
    
      

    Insert ${CLASS} before $menuentry_id_option:

     
            echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' ${CLASS} $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
      
  • These files are not changed on updates. grub.cfg will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new grub.cfg.

    To test that everything works as expected, backup your current grub.cfg and run sudo update-grub.