#!/bin/bash # 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-plymouth echo ' ' title=$"Plymouth Splash" apply=$"Utilizar imagem no Plymouth" close=$"Sair" back=$"Voltar" #title echo "$title" #header open_header echo "$title" '
' $"Altere a imagem que aparece enquanto o sistema esta sendo carregado." close_header if [ "$p_escolha" = "0" ] then e0_check="checked" fi if [ "$p_escolha" = "1" ] then e1_check="checked" edit="yes" composite /lib/plymouth/themes/biglinux-logo/progress-border1.png -gravity center /lib/plymouth/themes/biglinux-logo/plymouth-tmp.png /lib/plymouth/themes/biglinux-logo/plymouth-tmp2.png fi if [ "$p_escolha" = "2" ] then e2_check="checked" edit="yes" composite /lib/plymouth/themes/biglinux-logo/progress-border2.png -gravity center /lib/plymouth/themes/biglinux-logo/plymouth-tmp.png /lib/plymouth/themes/biglinux-logo/plymouth-tmp2.png fi if [ "$p_escolha" = "3" ] then e3_check="checked" edit="yes" composite /lib/plymouth/themes/biglinux-logo/progress-border3.png -gravity center /lib/plymouth/themes/biglinux-logo/plymouth-tmp.png /lib/plymouth/themes/biglinux-logo/plymouth-tmp2.png fi if [ "$p_escolha" = "4" ] then e4_check="checked" edit="yes" composite /lib/plymouth/themes/biglinux-logo/progress-border4.png -gravity center /lib/plymouth/themes/biglinux-logo/plymouth-tmp.png /lib/plymouth/themes/biglinux-logo/plymouth-tmp2.png fi if [ "$p_escolha" = "5" ] then e5_check="checked" edit="yes" composite /lib/plymouth/themes/biglinux-logo/progress-border5.png -gravity center /lib/plymouth/themes/biglinux-logo/plymouth-tmp.png /lib/plymouth/themes/biglinux-logo/plymouth-tmp2.png fi if [ "$p_escolha" = "6" ] then e6_check="checked" edit="yes" composite /lib/plymouth/themes/biglinux-logo/progress-border6.png -gravity center /lib/plymouth/themes/biglinux-logo/plymouth-tmp.png /lib/plymouth/themes/biglinux-logo/plymouth-tmp2.png fi if [ "$p_escolha" = "7" ] then e7_check="checked" edit="yes" composite /lib/plymouth/themes/biglinux-logo/progress-border7.png -gravity center /lib/plymouth/themes/biglinux-logo/plymouth-tmp.png /lib/plymouth/themes/biglinux-logo/plymouth-tmp2.png fi if [ "$p_escolha" = "" ] then e0_check="checked" convert -gravity center "/$(kdialog --title $"Selecione a imagem" --getopenfilename "/usr/share/wallpapers/" "*.jpg *.png *.bmp *.tga *.jpeg *.pnm *.tif *.tiff" 2>/dev/null)" /lib/plymouth/themes/biglinux-logo/plymouth-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 "
" $"Aplicar efeito:" "
" echo "
"