From 74b85312fe0a78a18162a62e30054e9e56af665f Mon Sep 17 00:00:00 2001 From: axtloss Date: Wed, 10 Aug 2022 18:26:50 +0200 Subject: [PATCH] revert removal of crystal-grub-theme --- src/functions/base.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/functions/base.rs b/src/functions/base.rs index f6755e4..da8c4fd 100755 --- a/src/functions/base.rs +++ b/src/functions/base.rs @@ -58,6 +58,7 @@ pub fn install_bootloader_efi(efidir: PathBuf) { "grub", "efibootmgr", "grub-btrfs", + "crystal-grub-theme", "os-prober", ]); let efidir = std::path::Path::new("/mnt").join(efidir); @@ -88,6 +89,13 @@ pub fn install_bootloader_efi(efidir: PathBuf) { ), "install grub as efi without --removable", ); + files_eval( + append_file( + "/mnt/etc/default/grub", + "GRUB_THEME=\"/usr/share/grub/themes/crystal/theme.txt\"", + ), + "enable crystal grub theme", + ); exec_eval( exec_chroot( "grub-mkconfig",