1 2 3 4 5
#!/sbin/sh PROFILES=`grep 'Path=' ~/.moonchild\ productions/basilisk/profiles.ini | cut -d'.' -f2` CHOSEN=`echo "$PROFILES" | tofi` [ -z "$CHOSEN" ] && exit 2 basilisk -P "$CHOSEN"