summaryrefslogtreecommitdiff
path: root/fdc-tofi
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-10-09 00:42:32 -0500
committerzachir <zachir@librem.one>2022-10-09 00:42:32 -0500
commit0217995cda2e5b3700b911b5561e99c659fba92b (patch)
tree80abdcf81366ebf51432b406e5e0e3293930cf8f /fdc-tofi
parent5355ec2d7e7e79d636e62b70af7dbb39002e98d3 (diff)
add tofi scripts, replacing barmenu
Diffstat (limited to 'fdc-tofi')
-rwxr-xr-xfdc-tofi5
1 files changed, 5 insertions, 0 deletions
diff --git a/fdc-tofi b/fdc-tofi
new file mode 100755
index 0000000..7dfa14d
--- /dev/null
+++ b/fdc-tofi
@@ -0,0 +1,5 @@
+#!/sbin/sh
+PROFILES=`grep 'Path=' ~/.firedragon/profiles.ini | cut -d'.' -f2`
+CHOSEN=`echo "$PROFILES" | tofi`
+[ -z "$CHOSEN" ] && exit 2
+firedragon -P "$CHOSEN"