#!/bin/sh

menu="{{ launcher }} {{ dmenu_flag }} -p Bookmarks"

# Put the URL inside [ ] to make it stand out
# It leads to an ugly sed command though
buku -p -f40 | awk -F'\t' '{print $2 "\t[" $1 "]"}' | ${menu} | sed 's@^.*\t\[\(https\?://.*\)\]$@\1@' | urlfilter | xargs -r {{ default_browser }}
