#!/bin/bash res_height=1080 res_width=1920 saveplace="$HOME" compression=6 #level from 0 to 9 mkdir -p "$saveplace" read -p "Enter name of theme now: " theme_name [[ -z $theme_name ]] && echo "Not nice ..." && exit theme_name="${theme_name,,}" #force lowercase cat << _EOF_ We create 3 files now 1. ${theme_name}_system -> For main system view 2. ${theme_name}_list -> For the ROMs list menu 3. ${theme_name}_grid -> For the ROMs grid view These Pictures will be saved into directory $saveplace Select the view for ES (system, list and grid) So press ENTER to create the pictures. _EOF_ for i in system list grid; do read -p "If you are ready then press ENTER for screenshot: ${theme_name}_$i.png" raspi2png -p "${saveplace}/${theme_name}_$i.png" -d 1 -h $res_height -w $res_width -c $compression done