3 #NOTE: it's the job of the script that inserts bookmarks to make sure there are no dupes.
5 file=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/bookmarks
7 COLORS=" -nb #303030 -nf khaki -sb #CCFFAA -sf #303030"
8 if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]'
10 DMENU="dmenu -i -xs -rs -l 10" # vertical patch
12 goto=`$DMENU $COLORS < $file | awk '{print $1}'`
15 # because they are all after each other, just show the url, not their tags.
16 goto=`awk '{print $1}' $file | $DMENU $COLORS`
19 #[ -n "$goto" ] && echo "uri $goto" > $4
20 [ -n "$goto" ] && uzblctrl -s $5 -c "uri $goto"