summaryrefslogtreecommitdiff
path: root/qbc-tofi
diff options
context:
space:
mode:
Diffstat (limited to 'qbc-tofi')
-rwxr-xr-xqbc-tofi18
1 files changed, 0 insertions, 18 deletions
diff --git a/qbc-tofi b/qbc-tofi
deleted file mode 100755
index b53255f..0000000
--- a/qbc-tofi
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/sbin/sh
-
-SESSIONS=`qbpm list`
-[ -z "$SESSIONS" ] && qutebrowser $@
-CHOSEN=`printf "default\n$SESSIONS" | tofi`
-[ -z "$CHOSEN" ] && exit 2
-if [ -n "$CHOSEN" ]; then
- if [ "$CHOSEN" = "default" ]; then
- qutebrowser $@
- else
- if [ -z `echo "$SESSIONS" | grep "$CHOSEN"` ]; then
- qbpm new "$CHOSEN"
- fi
- qbpm launch "$CHOSEN" $@
- #qutebrowser -B "$HOME/.local/share/$CHOSEN"
- fi
-fi
-