#!/bin/bash #GRUB panel for BigLinux # #Authors: # Bruno Goncalves Araujo # #License: GPLv2 or later ################################################# . /usr/share/bigcontrolcenter/default/theme-categories.sh.htm #Translation export TEXTDOMAINDIR="/usr/share/locale-langpack" export TEXTDOMAIN=bigcontrolcenter-themes-grub echo ' ' title=$"Grub" apply=$"Definir como imagem de fundo do Grub" close=$"Sair" back=$"Voltar" #title echo "$title" #header open_header echo "$title" '
' $"Altere a imagem de fundo e cor da fonte do Grub." close_header if [ "$p_escolha" = "white" ] then white_check="checked" edit="yes" composite /usr/share/images/desktop-base/grub-white.png -resize 800x600! /usr/share/images/desktop-base/grub-tmp.png /usr/share/images/desktop-base/grub-tmp2.png fi if [ "$p_escolha" = "black" ] then black_check="checked" edit="yes" composite /usr/share/images/desktop-base/grub-black.png -resize 800x600! /usr/share/images/desktop-base/grub-tmp.png /usr/share/images/desktop-base/grub-tmp2.png fi if [ "$p_escolha" = "no" ] then no_check="checked" fi if [ "$p_escolha" = "" ] then no_check="checked" convert -resize 800x600! "/$(kdialog --title $"Selecione a imagem" --getopenfilename "/usr/share/wallpapers/" "*.jpg *.png *.bmp *.tga *.jpeg *.pnm *.tif *.tiff" 2>/dev/null)" /usr/share/images/desktop-base/grub-tmp.png 2> /dev/null > /dev/null # /usr/share/bigcontrolcenter/categories/themes/grub/kdialog fi #body echo '
' echo "
" echo $"Nova imagem" "
" if [ "$edit" = "yes" ] then echo "
" else echo "" fi echo "
" echo "
" echo "
"