summaryrefslogtreecommitdiff
path: root/ffc-tofi
blob: 313169477d68168a39f03998c2b963b0acb03617 (plain)
1
2
3
4
5
#!/sbin/sh
PROFILES=`grep 'Path=' ~/.mozilla/firefox/profiles.ini | cut -d'.' -f2`
CHOSEN=`echo "$PROFILES" | tofi`
[ -z "$CHOSEN" ] && exit 2
firefox -P "$CHOSEN"