diff --git a/grub-theme-slaze/Install b/grub-theme-slaze/Install new file mode 100755 index 0000000..81206fc --- /dev/null +++ b/grub-theme-slaze/Install @@ -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 diff --git a/grub-theme-slaze/Slaze/background.jpg b/grub-theme-slaze/Slaze/background.jpg new file mode 100644 index 0000000..b9e6dad Binary files /dev/null and b/grub-theme-slaze/Slaze/background.jpg differ diff --git a/grub-theme-slaze/Slaze/icons/antergos.png b/grub-theme-slaze/Slaze/icons/antergos.png new file mode 100644 index 0000000..3021a90 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/antergos.png differ diff --git a/grub-theme-slaze/Slaze/icons/arch.png b/grub-theme-slaze/Slaze/icons/arch.png new file mode 100644 index 0000000..65dfdc2 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/arch.png differ diff --git a/grub-theme-slaze/Slaze/icons/chakra.png b/grub-theme-slaze/Slaze/icons/chakra.png new file mode 100644 index 0000000..2971971 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/chakra.png differ diff --git a/grub-theme-slaze/Slaze/icons/crunchbang.png b/grub-theme-slaze/Slaze/icons/crunchbang.png new file mode 100644 index 0000000..4db2982 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/crunchbang.png differ diff --git a/grub-theme-slaze/Slaze/icons/debian.png b/grub-theme-slaze/Slaze/icons/debian.png new file mode 100644 index 0000000..bb3b8e8 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/debian.png differ diff --git a/grub-theme-slaze/Slaze/icons/deepin.png b/grub-theme-slaze/Slaze/icons/deepin.png new file mode 100644 index 0000000..5cb58c6 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/deepin.png differ diff --git a/grub-theme-slaze/Slaze/icons/edubuntu.png b/grub-theme-slaze/Slaze/icons/edubuntu.png new file mode 100644 index 0000000..319ea1c Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/edubuntu.png differ diff --git a/grub-theme-slaze/Slaze/icons/elementary.png b/grub-theme-slaze/Slaze/icons/elementary.png new file mode 100644 index 0000000..3614d33 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/elementary.png differ diff --git a/grub-theme-slaze/Slaze/icons/fedora.png b/grub-theme-slaze/Slaze/icons/fedora.png new file mode 100644 index 0000000..25b8608 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/fedora.png differ diff --git a/grub-theme-slaze/Slaze/icons/frugalware.png b/grub-theme-slaze/Slaze/icons/frugalware.png new file mode 100644 index 0000000..b1ffe20 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/frugalware.png differ diff --git a/grub-theme-slaze/Slaze/icons/gentoo.png b/grub-theme-slaze/Slaze/icons/gentoo.png new file mode 100644 index 0000000..319ee61 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/gentoo.png differ diff --git a/grub-theme-slaze/Slaze/icons/gnu-linux.png b/grub-theme-slaze/Slaze/icons/gnu-linux.png new file mode 100644 index 0000000..64b217e Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/gnu-linux.png differ diff --git a/grub-theme-slaze/Slaze/icons/kali.png b/grub-theme-slaze/Slaze/icons/kali.png new file mode 100644 index 0000000..98ed8d2 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/kali.png differ diff --git a/grub-theme-slaze/Slaze/icons/kaos.png b/grub-theme-slaze/Slaze/icons/kaos.png new file mode 100644 index 0000000..e2ef5da Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/kaos.png differ diff --git a/grub-theme-slaze/Slaze/icons/korora.png b/grub-theme-slaze/Slaze/icons/korora.png new file mode 100644 index 0000000..dc0c748 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/korora.png differ diff --git a/grub-theme-slaze/Slaze/icons/kubuntu.png b/grub-theme-slaze/Slaze/icons/kubuntu.png new file mode 100644 index 0000000..7676241 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/kubuntu.png differ diff --git a/grub-theme-slaze/Slaze/icons/lfs.png b/grub-theme-slaze/Slaze/icons/lfs.png new file mode 100644 index 0000000..b5eac27 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/lfs.png differ diff --git a/grub-theme-slaze/Slaze/icons/linux-mint.png b/grub-theme-slaze/Slaze/icons/linux-mint.png new file mode 100644 index 0000000..c8a946f Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/linux-mint.png differ diff --git a/grub-theme-slaze/Slaze/icons/lubuntu.png b/grub-theme-slaze/Slaze/icons/lubuntu.png new file mode 100644 index 0000000..cf8fa5f Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/lubuntu.png differ diff --git a/grub-theme-slaze/Slaze/icons/mageia.png b/grub-theme-slaze/Slaze/icons/mageia.png new file mode 100644 index 0000000..a6dbfb6 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/mageia.png differ diff --git a/grub-theme-slaze/Slaze/icons/manjaro.png b/grub-theme-slaze/Slaze/icons/manjaro.png new file mode 100644 index 0000000..3150ee4 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/manjaro.png differ diff --git a/grub-theme-slaze/Slaze/icons/opensuse.png b/grub-theme-slaze/Slaze/icons/opensuse.png new file mode 100644 index 0000000..1064d84 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/opensuse.png differ diff --git a/grub-theme-slaze/Slaze/icons/siduction.png b/grub-theme-slaze/Slaze/icons/siduction.png new file mode 100644 index 0000000..774a17f Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/siduction.png differ diff --git a/grub-theme-slaze/Slaze/icons/steamos.png b/grub-theme-slaze/Slaze/icons/steamos.png new file mode 100644 index 0000000..bf6b52b Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/steamos.png differ diff --git a/grub-theme-slaze/Slaze/icons/ubuntu.png b/grub-theme-slaze/Slaze/icons/ubuntu.png new file mode 100644 index 0000000..2452c14 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/ubuntu.png differ diff --git a/grub-theme-slaze/Slaze/icons/windows.png b/grub-theme-slaze/Slaze/icons/windows.png new file mode 100644 index 0000000..d059667 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/windows.png differ diff --git a/grub-theme-slaze/Slaze/icons/xubuntu.png b/grub-theme-slaze/Slaze/icons/xubuntu.png new file mode 100644 index 0000000..623ace0 Binary files /dev/null and b/grub-theme-slaze/Slaze/icons/xubuntu.png differ diff --git a/grub-theme-slaze/Slaze/select_c.png b/grub-theme-slaze/Slaze/select_c.png new file mode 100644 index 0000000..dfab69a Binary files /dev/null and b/grub-theme-slaze/Slaze/select_c.png differ diff --git a/grub-theme-slaze/Slaze/select_e.png b/grub-theme-slaze/Slaze/select_e.png new file mode 100644 index 0000000..062fe62 Binary files /dev/null and b/grub-theme-slaze/Slaze/select_e.png differ diff --git a/grub-theme-slaze/Slaze/select_n.png b/grub-theme-slaze/Slaze/select_n.png new file mode 100644 index 0000000..c034db1 Binary files /dev/null and b/grub-theme-slaze/Slaze/select_n.png differ diff --git a/grub-theme-slaze/Slaze/select_ne.png b/grub-theme-slaze/Slaze/select_ne.png new file mode 100644 index 0000000..7be4d3a Binary files /dev/null and b/grub-theme-slaze/Slaze/select_ne.png differ diff --git a/grub-theme-slaze/Slaze/select_nw.png b/grub-theme-slaze/Slaze/select_nw.png new file mode 100644 index 0000000..58c7379 Binary files /dev/null and b/grub-theme-slaze/Slaze/select_nw.png differ diff --git a/grub-theme-slaze/Slaze/select_s.png b/grub-theme-slaze/Slaze/select_s.png new file mode 100644 index 0000000..036d9e6 Binary files /dev/null and b/grub-theme-slaze/Slaze/select_s.png differ diff --git a/grub-theme-slaze/Slaze/select_se.png b/grub-theme-slaze/Slaze/select_se.png new file mode 100644 index 0000000..47a34c0 Binary files /dev/null and b/grub-theme-slaze/Slaze/select_se.png differ diff --git a/grub-theme-slaze/Slaze/select_sw.png b/grub-theme-slaze/Slaze/select_sw.png new file mode 100644 index 0000000..9290695 Binary files /dev/null and b/grub-theme-slaze/Slaze/select_sw.png differ diff --git a/grub-theme-slaze/Slaze/select_w.png b/grub-theme-slaze/Slaze/select_w.png new file mode 100644 index 0000000..b5bfb5d Binary files /dev/null and b/grub-theme-slaze/Slaze/select_w.png differ diff --git a/grub-theme-slaze/Slaze/terminal_box_c.png b/grub-theme-slaze/Slaze/terminal_box_c.png new file mode 100644 index 0000000..d0dd52a Binary files /dev/null and b/grub-theme-slaze/Slaze/terminal_box_c.png differ diff --git a/grub-theme-slaze/Slaze/terminal_box_e.png b/grub-theme-slaze/Slaze/terminal_box_e.png new file mode 100644 index 0000000..394cbe4 Binary files /dev/null and b/grub-theme-slaze/Slaze/terminal_box_e.png differ diff --git a/grub-theme-slaze/Slaze/terminal_box_n.png b/grub-theme-slaze/Slaze/terminal_box_n.png new file mode 100644 index 0000000..476f8bc Binary files /dev/null and b/grub-theme-slaze/Slaze/terminal_box_n.png differ diff --git a/grub-theme-slaze/Slaze/terminal_box_ne.png b/grub-theme-slaze/Slaze/terminal_box_ne.png new file mode 100644 index 0000000..9e26959 Binary files /dev/null and b/grub-theme-slaze/Slaze/terminal_box_ne.png differ diff --git a/grub-theme-slaze/Slaze/terminal_box_nw.png b/grub-theme-slaze/Slaze/terminal_box_nw.png new file mode 100644 index 0000000..5c3cba8 Binary files /dev/null and b/grub-theme-slaze/Slaze/terminal_box_nw.png differ diff --git a/grub-theme-slaze/Slaze/terminal_box_s.png b/grub-theme-slaze/Slaze/terminal_box_s.png new file mode 100644 index 0000000..85a8901 Binary files /dev/null and b/grub-theme-slaze/Slaze/terminal_box_s.png differ diff --git a/grub-theme-slaze/Slaze/terminal_box_se.png b/grub-theme-slaze/Slaze/terminal_box_se.png new file mode 100644 index 0000000..d8627ee Binary files /dev/null and b/grub-theme-slaze/Slaze/terminal_box_se.png differ diff --git a/grub-theme-slaze/Slaze/terminal_box_sw.png b/grub-theme-slaze/Slaze/terminal_box_sw.png new file mode 100644 index 0000000..67c600c Binary files /dev/null and b/grub-theme-slaze/Slaze/terminal_box_sw.png differ diff --git a/grub-theme-slaze/Slaze/terminal_box_w.png b/grub-theme-slaze/Slaze/terminal_box_w.png new file mode 100644 index 0000000..d066e2d Binary files /dev/null and b/grub-theme-slaze/Slaze/terminal_box_w.png differ diff --git a/grub-theme-slaze/Slaze/theme.txt b/grub-theme-slaze/Slaze/theme.txt new file mode 100644 index 0000000..a114ec1 --- /dev/null +++ b/grub-theme-slaze/Slaze/theme.txt @@ -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" +} diff --git a/grub-theme-slaze/Slaze/unifont-regular-16.pf2 b/grub-theme-slaze/Slaze/unifont-regular-16.pf2 new file mode 100644 index 0000000..b87a776 Binary files /dev/null and b/grub-theme-slaze/Slaze/unifont-regular-16.pf2 differ diff --git a/grub-theme-stylishdark/Install b/grub-theme-stylishdark/Install index 763def0..77e27ad 100755 --- a/grub-theme-stylishdark/Install +++ b/grub-theme-stylishdark/Install @@ -39,9 +39,9 @@ if [ "$UID" -eq "$ROOT_UID" ]; then fi # Success message - echo -e "\n\t ***************\n\t * All done! *\n\t ***************\n" + echo -e "\n\t ***************\n\t * All done! *\n\t ***************\n" - else +else # Error message echo -e "\n\t ******************************\n\t * Error! -> Run me as root *\n\t ******************************\n" - fi +fi