list=( # Edit game list below (full game list available from ./data/games folder) doom lemmings_pc myst prince_of_persia_atarist_pc sim_city_2000 the_secret_of_monkey_island_macintosh_pc_scummvm worms # 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