1 2 3 4 5
#!/sbin/sh PROFILES=`grep 'Path=' ~/.firedragon/profiles.ini | cut -d'.' -f2` CHOSEN=`echo "$PROFILES" | barmenu -l 15` [ -z "$CHOSEN" ] && exit 2 firedragon -P "$CHOSEN"