From 0217995cda2e5b3700b911b5561e99c659fba92b Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 9 Oct 2022 00:42:32 -0500 Subject: add tofi scripts, replacing barmenu --- ffc-tofi | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 ffc-tofi (limited to 'ffc-tofi') 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" -- cgit v1.2.3