#!/bin/sh # Prompt for profile profile="$(zenity --list --radiolist --title 'Please select a profile' --column '' --column '' FALSE 'accuracy' TRUE 'compatibility')" # Launch selected profile [[ -n $profile ]] && exec bsnes-$profile "$@"