#!/bin/bash

if [[ "$1" ]]
then
	FILE=$1
else
	FILE=$HOME/.config/vimb/bookmark
fi

toopen=$(cat $FILE | cut -f1 | dmenu -i -l 10)

if [[ "$toopen" ]] 
then
	tabbed -c vimb $toopen -e
fi
