summaryrefslogtreecommitdiff
path: root/bsc-tofi
diff options
context:
space:
mode:
Diffstat (limited to 'bsc-tofi')
-rwxr-xr-xbsc-tofi5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsc-tofi b/bsc-tofi
new file mode 100755
index 0000000..9b368fb
--- /dev/null
+++ b/bsc-tofi
@@ -0,0 +1,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"