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 --- lwc-tofi | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 lwc-tofi (limited to 'lwc-tofi') 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" -- cgit v1.2.3