Merge pull request #133 from x-crowbar-x/patch-1
Add CyberRe Grub theme install
This commit is contained in:
commit
64a63507ad
|
|
@ -17,7 +17,23 @@ GRUB EFI Bootloader Install & Check
|
|||
if [[ -d "/sys/firmware/efi" ]]; then
|
||||
grub-install --efi-directory=/boot ${DISK}
|
||||
fi
|
||||
|
||||
echo -e "Installing CyberRe Grub theme..."
|
||||
THEME_DIR="/boot/grub/themes"
|
||||
THEME_NAME=CyberRe
|
||||
echo -e "Creating the theme directory..."
|
||||
mkdir -p "${THEME_DIR}/${THEME_NAME}"
|
||||
echo -e "Copying the theme..."
|
||||
cd ${HOME}/ArchTitus
|
||||
cp -a ${THEME_NAME}/* ${THEME_DIR}/${THEME_NAME}
|
||||
echo -e "Backing up Grub config..."
|
||||
cp -an /etc/default/grub /etc/default/grub.bak
|
||||
echo -e "Setting the theme as the default..."
|
||||
grep "GRUB_THEME=" /etc/default/grub 2>&1 >/dev/null && sed -i '/GRUB_THEME=/d' /etc/default/grub
|
||||
echo "GRUB_THEME=\"${THEME_DIR}/${THEME_NAME}/theme.txt\"" >> /etc/default/grub
|
||||
echo -e "Updating grub..."
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
echo -e "All set!"
|
||||
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 638 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
|
|
@ -0,0 +1,49 @@
|
|||
# Copyright (C) 2020 L. Henrique Lopes - HENK
|
||||
|
||||
# general settings
|
||||
title-text: ""
|
||||
title-color: "#3ec6ae"
|
||||
message-font: "DejaVu Sans Regular 14"
|
||||
message-color: "#fd262e"
|
||||
message-bg-color: "#808080"
|
||||
desktop-image: "background.png"
|
||||
desktop-color: "#808080"
|
||||
terminal-font: "DejaVu Sans Regular 14"
|
||||
|
||||
|
||||
# boot menu
|
||||
+ boot_menu {
|
||||
left = 28%
|
||||
width = 50%
|
||||
top = 22%
|
||||
height = 45%
|
||||
item_font = "DroidLogo Regular 17"
|
||||
item_color = "#fb3048"
|
||||
selected_item_font = "DroidLogo Regular 17"
|
||||
selected_item_color = "#74d6cf"
|
||||
icon_width = 16
|
||||
icon_height = 16
|
||||
item_height = 33
|
||||
item_padding = 20
|
||||
item_icon_space = 5
|
||||
item_spacing = 5
|
||||
menu_pixmap_style = "boot_menu2_*.png"
|
||||
selected_item_pixmap_style = "highlight_*.png"
|
||||
}
|
||||
|
||||
# Show progress
|
||||
+ progress_bar {
|
||||
id = "__timeout__"
|
||||
left = 0%
|
||||
width = 100%
|
||||
top = 99%
|
||||
height = 31
|
||||
show_text = false
|
||||
text = ""
|
||||
fg_color = "#3daee9"
|
||||
bg_color = "#31363b"
|
||||
border_color = "#31363b"
|
||||
highlight_style = "progress_highlight_*.png"
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue