diff options
Diffstat (limited to 'ffc-tofi')
-rwxr-xr-x | ffc-tofi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ffc-tofi b/ffc-tofi new file mode 100755 index 0000000..3131694 --- /dev/null +++ b/ffc-tofi @@ -0,0 +1,5 @@ +#!/sbin/sh +PROFILES=`grep 'Path=' ~/.mozilla/firefox/profiles.ini | cut -d'.' -f2` +CHOSEN=`echo "$PROFILES" | tofi` +[ -z "$CHOSEN" ] && exit 2 +firefox -P "$CHOSEN" |