summaryrefslogtreecommitdiff
path: root/lwc-tofi
diff options
context:
space:
mode:
Diffstat (limited to 'lwc-tofi')
-rwxr-xr-xlwc-tofi5
1 files changed, 5 insertions, 0 deletions
diff --git a/lwc-tofi b/lwc-tofi
new file mode 100755
index 0000000..7307f74
--- /dev/null
+++ b/lwc-tofi
@@ -0,0 +1,5 @@
+#!/sbin/sh
+PROFILES=`grep 'Path=' ~/.librewolf/profiles.ini | cut -d'.' -f2`
+CHOSEN=`echo "$PROFILES" | tofi`
+[ -z "$CHOSEN" ] && exit 2
+librewolf -P "$CHOSEN"