| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function identity_render { |
| |
| local FILE='' |
| |
| |
| local ARTCOMP='' |
| |
| |
| local THEMEMODEL='Default' |
| |
| |
| local FILES=$(cli_getFilesList "$ARTCONF" ".*/?render\.conf\.sh") |
| |
| |
| cli_printActionPreamble "$FILES" |
| |
| |
| for FILE in $FILES;do |
| |
| |
| cli_printMessage $FILE 'AsConfigurationLine' |
| |
| |
| |
| |
| |
| local -a ACTIONS |
| local -a POSTACTIONS |
| local -a LASTACTIONS |
| |
| |
| |
| . $FILE |
| |
| |
| |
| identity_loadConfig |
| |
| |
| |
| identity_getConfig |
| |
| |
| |
| |
| |
| |
| ACTIONVAL=$(dirname $(echo $FILE | sed -r \ |
| -e 's!Scripts/Bash/Cli/Functions/Identity/Config/(Identity)/!\1/!' \ |
| -e "s!Themes/!Themes/Motifs/$(cli_getPathComponent '--theme')/!")) |
| |
| |
| |
| ARTCOMP=$(echo $ACTIONVAL | cut -d/ -f6-) |
| |
| |
| |
| |
| |
| ARTCOMP=$(echo $ARTCOMP \ |
| | sed -r "s!Themes/Motifs/$(cli_getPathComponent '--theme')/!Themes/!") |
| |
| |
| |
| identity_renderBase |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| unset ACTIONS |
| unset POSTACTIONS |
| unset LASTACTIONS |
| |
| done |
| |
| } |