From 7cf2f0918f604cb8b47c34d1825efba81c019255 Mon Sep 17 00:00:00 2001 From: Aryan Karan Date: Thu, 3 Apr 2025 18:35:00 +0530 Subject: [PATCH] Fix background in terminal Becoz of GRUB_BACKGROUND being set it shows backkground in grub terminal too which is highly discouraged as it reduces visibilty of texts to 10-30% so better keep the terminal and other screen black expect the grub menu which is already set by theme ```desktop-image``` --- install.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 5823f84..f6476ae 100755 --- a/install.sh +++ b/install.sh @@ -213,11 +213,8 @@ install() { fi if grep "GRUB_BACKGROUND=" /etc/default/grub 2>&1 >/dev/null; then - #Replace GRUB_BACKGROUND - sed -i "s|.*GRUB_BACKGROUND=.*|GRUB_BACKGROUND=\"${THEME_DIR}/${theme}/background.jpg\"|" /etc/default/grub - else - #Append GRUB_BACKGROUND - echo "GRUB_BACKGROUND=\"${THEME_DIR}/${theme}/background.jpg\"" >> /etc/default/grub + # remove GRUB_BACKGROUND + sed -i "s|.*GRUB_BACKGROUND=.*||" /etc/default/grub fi # Make sure the right resolution for grub is set