| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function render_doIdentityImageKsplash { |
| |
| local -a SRC |
| local -a DST |
| local FONT='' |
| local COUNT=0 |
| |
| |
| FONT=$(cli_getRepoTLDir)/Identity/Fonts/DejaVuLGCSans-Bold.ttf |
| |
| |
| cli_checkFiles "$FONT" 'f' |
| |
| |
| SRC[0]="${DIRNAME}/splash_top.png" |
| SRC[1]="${DIRNAME}/splash_active_bar.png" |
| SRC[2]="${DIRNAME}/splash_inactive_bar.png" |
| SRC[3]="${DIRNAME}/splash_bottom.png" |
| SRC[4]="$(cli_getRepoTLDir)/Identity/Themes/Models/${THEMEMODEL}/Distro/BootUp/KSplash/Theme.rc" |
| |
| |
| cli_checkFiles "${SRC[@]}" 'f' |
| |
| |
| DST[0]="${DIRNAME}/splash_top.png" |
| DST[1]="${DIRNAME}/splash_active_bar.png" |
| DST[2]="${DIRNAME}/splash_inactive_bar.png" |
| DST[3]="${DIRNAME}/splash_bottom.png" |
| DST[4]="${DIRNAME}/Theme.rc" |
| |
| |
| convert -append ${SRC[0]} ${SRC[1]} ${SRC[3]} ${DIRNAME}/Preview.png |
| |
| |
| |
| |
| |
| mogrify -draw 'text 6,295 "KDE is up and running."' \ |
| -fill \ |
| -font $FONT \ |
| ${DIRNAME}/Preview.png |
| |
| |
| cp ${SRC[4]} ${DST[4]} |
| |
| |
| render_doIdentityTMarkersCommons "${DST[4]}" |
| |
| } |