Added a new abstract theme which is based on Vimix
Changes: Added a new abstract theme which based on Vimix. Fixes: Fixed a tiny bug in the StylishDark install script.
47
grub-theme-slaze/Install
Executable file
@ -0,0 +1,47 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Slaze - Grub2 Abstract Theme
|
||||
|
||||
ROOT_UID=0
|
||||
|
||||
# Welcome message
|
||||
echo -e "\n\t**********************************\n\t* Slaze - Grub2 Abstract Theme *\n\t**********************************"
|
||||
|
||||
# Check command avalibility
|
||||
function has_command() {
|
||||
command -v $1 > /dev/null
|
||||
}
|
||||
|
||||
echo -e "\nChecking for root access..."
|
||||
|
||||
# Checking for root access and proceed if it is present
|
||||
if [ "$UID" -eq "$ROOT_UID" ]; then
|
||||
|
||||
# Create themes directory if not exists
|
||||
echo -e "Checking for the existence of themes directory..."
|
||||
mkdir -p /boot/grub/themes
|
||||
|
||||
# Copy Slaze
|
||||
echo -e "Installing Slaze theme..."
|
||||
cp -a Slaze /boot/grub/themes
|
||||
|
||||
# Set Slaze
|
||||
echo -e "Setting Slaze as default..."
|
||||
grep "GRUB_THEME=" /etc/default/grub 2>&1 >/dev/null && sed -i '/GRUB_THEME=/d' /etc/default/grub
|
||||
echo "GRUB_THEME=\"/boot/grub/themes/Slaze/theme.txt\"" >> /etc/default/grub
|
||||
|
||||
# Update grub config
|
||||
echo -e "Updating grub config..."
|
||||
if has_command update-grub; then
|
||||
update-grub
|
||||
elif has_command grub-mkconfig; then
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
fi
|
||||
|
||||
# Success message
|
||||
echo -e "\n\t ***************\n\t * All done! *\n\t ***************\n"
|
||||
|
||||
else
|
||||
# Error message
|
||||
echo -e "\n\t ******************************\n\t * Error! -> Run me as root *\n\t ******************************\n"
|
||||
fi
|
BIN
grub-theme-slaze/Slaze/background.jpg
Normal file
After Width: | Height: | Size: 161 KiB |
BIN
grub-theme-slaze/Slaze/icons/antergos.png
Normal file
After Width: | Height: | Size: 709 B |
BIN
grub-theme-slaze/Slaze/icons/arch.png
Normal file
After Width: | Height: | Size: 567 B |
BIN
grub-theme-slaze/Slaze/icons/chakra.png
Normal file
After Width: | Height: | Size: 723 B |
BIN
grub-theme-slaze/Slaze/icons/crunchbang.png
Normal file
After Width: | Height: | Size: 553 B |
BIN
grub-theme-slaze/Slaze/icons/debian.png
Normal file
After Width: | Height: | Size: 607 B |
BIN
grub-theme-slaze/Slaze/icons/deepin.png
Normal file
After Width: | Height: | Size: 741 B |
BIN
grub-theme-slaze/Slaze/icons/edubuntu.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
grub-theme-slaze/Slaze/icons/elementary.png
Normal file
After Width: | Height: | Size: 787 B |
BIN
grub-theme-slaze/Slaze/icons/fedora.png
Normal file
After Width: | Height: | Size: 630 B |
BIN
grub-theme-slaze/Slaze/icons/frugalware.png
Normal file
After Width: | Height: | Size: 641 B |
BIN
grub-theme-slaze/Slaze/icons/gentoo.png
Normal file
After Width: | Height: | Size: 528 B |
BIN
grub-theme-slaze/Slaze/icons/gnu-linux.png
Normal file
After Width: | Height: | Size: 683 B |
BIN
grub-theme-slaze/Slaze/icons/kali.png
Normal file
After Width: | Height: | Size: 374 B |
BIN
grub-theme-slaze/Slaze/icons/kaos.png
Normal file
After Width: | Height: | Size: 620 B |
BIN
grub-theme-slaze/Slaze/icons/korora.png
Normal file
After Width: | Height: | Size: 623 B |
BIN
grub-theme-slaze/Slaze/icons/kubuntu.png
Normal file
After Width: | Height: | Size: 698 B |
BIN
grub-theme-slaze/Slaze/icons/lfs.png
Normal file
After Width: | Height: | Size: 416 B |
BIN
grub-theme-slaze/Slaze/icons/linux-mint.png
Normal file
After Width: | Height: | Size: 708 B |
BIN
grub-theme-slaze/Slaze/icons/lubuntu.png
Normal file
After Width: | Height: | Size: 700 B |
BIN
grub-theme-slaze/Slaze/icons/mageia.png
Normal file
After Width: | Height: | Size: 553 B |
BIN
grub-theme-slaze/Slaze/icons/manjaro.png
Normal file
After Width: | Height: | Size: 345 B |
BIN
grub-theme-slaze/Slaze/icons/opensuse.png
Normal file
After Width: | Height: | Size: 657 B |
BIN
grub-theme-slaze/Slaze/icons/siduction.png
Normal file
After Width: | Height: | Size: 653 B |
BIN
grub-theme-slaze/Slaze/icons/steamos.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
grub-theme-slaze/Slaze/icons/ubuntu.png
Normal file
After Width: | Height: | Size: 623 B |
BIN
grub-theme-slaze/Slaze/icons/windows.png
Normal file
After Width: | Height: | Size: 418 B |
BIN
grub-theme-slaze/Slaze/icons/xubuntu.png
Normal file
After Width: | Height: | Size: 695 B |
BIN
grub-theme-slaze/Slaze/select_c.png
Normal file
After Width: | Height: | Size: 932 B |
BIN
grub-theme-slaze/Slaze/select_e.png
Normal file
After Width: | Height: | Size: 931 B |
BIN
grub-theme-slaze/Slaze/select_n.png
Normal file
After Width: | Height: | Size: 931 B |
BIN
grub-theme-slaze/Slaze/select_ne.png
Normal file
After Width: | Height: | Size: 956 B |
BIN
grub-theme-slaze/Slaze/select_nw.png
Normal file
After Width: | Height: | Size: 955 B |
BIN
grub-theme-slaze/Slaze/select_s.png
Normal file
After Width: | Height: | Size: 931 B |
BIN
grub-theme-slaze/Slaze/select_se.png
Normal file
After Width: | Height: | Size: 955 B |
BIN
grub-theme-slaze/Slaze/select_sw.png
Normal file
After Width: | Height: | Size: 960 B |
BIN
grub-theme-slaze/Slaze/select_w.png
Normal file
After Width: | Height: | Size: 931 B |
BIN
grub-theme-slaze/Slaze/terminal_box_c.png
Normal file
After Width: | Height: | Size: 976 B |
BIN
grub-theme-slaze/Slaze/terminal_box_e.png
Normal file
After Width: | Height: | Size: 952 B |
BIN
grub-theme-slaze/Slaze/terminal_box_n.png
Normal file
After Width: | Height: | Size: 963 B |
BIN
grub-theme-slaze/Slaze/terminal_box_ne.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
grub-theme-slaze/Slaze/terminal_box_nw.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
grub-theme-slaze/Slaze/terminal_box_s.png
Normal file
After Width: | Height: | Size: 963 B |
BIN
grub-theme-slaze/Slaze/terminal_box_se.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
grub-theme-slaze/Slaze/terminal_box_sw.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
grub-theme-slaze/Slaze/terminal_box_w.png
Normal file
After Width: | Height: | Size: 952 B |
40
grub-theme-slaze/Slaze/theme.txt
Normal file
@ -0,0 +1,40 @@
|
||||
# GRUB2 gfxmenu Linux Slaze theme
|
||||
# Designed for any resolution
|
||||
|
||||
# Global Property
|
||||
title-text: ""
|
||||
desktop-image: "background.jpg"
|
||||
desktop-color: "#000000"
|
||||
terminal-font: "Unifont Regular 16"
|
||||
terminal-box: "terminal_box_*.png"
|
||||
terminal-left: "0"
|
||||
terminal-top: "0"
|
||||
terminal-width: "100%"
|
||||
terminal-height: "100%"
|
||||
terminal-border: "0"
|
||||
|
||||
# Show the boot menu
|
||||
+ boot_menu {
|
||||
left = 30%
|
||||
top = 30%
|
||||
width = 45%
|
||||
height = 60%
|
||||
item_font = "Unifont Regular 16"
|
||||
item_color = "#cccccc"
|
||||
selected_item_color = "#ffffff"
|
||||
item_height = 24
|
||||
item_spacing = 12
|
||||
selected_item_pixmap_style = "select_*.png"
|
||||
}
|
||||
|
||||
# Show a countdown message using the label component
|
||||
+ label {
|
||||
top = 82%
|
||||
left = 35%
|
||||
width = 30%
|
||||
align = "center"
|
||||
id = "__timeout__"
|
||||
text = "Booting in %d seconds"
|
||||
color = "#cccccc"
|
||||
font = "Unifont Regular 16"
|
||||
}
|