list=( # Edit game list below (full game list available from ./data/games folder) f_zero_x f_zero_x_a0 goldeneye_007 goldeneye_007 super_mario_64 super_mario_64 turok turok # Do not edit below this line ) games="$(IFS=,; printf '%s' "${list[*]}")" sed -i "s/random(.*)/random(${games})/" game_theme_color_accent.xml sed -i "s/random(.*)/random(${games})/" game_theme_gamelist.xml sed -i "s/random(.*)/random(${games})/" game_theme_horizontal.xml sed -i "s/random(.*)/random(${games})/" game_theme_horizontal_legacy.xml sed -i "s/random(.*)/random(${games})/" game_theme_music.xml sed -i "s/random(.*)/random(${games})/" game_theme_vertical_wheel.xml