User Tools

Site Tools


This allows you to organize bookmarks as if they are in folders by allowing you first to select through dmenu the tag, then bookmarks with that tag. It currently does not support multiple tags and it does not currently support bookmarks without tags. I will try to resolve this soon. Note: I did this assuming your dmenu was not vertical.


#NOTE: it's the job of the script that inserts bookmarks to make sure there are no dupes.

[ -r "$file" ] || exit
COLORS=" -nb #303030 -nf khaki -sb #CCFFAA -sf #303030"
DMENU="dmenu -i"
TAG=`cat $file | awk '{print $2}' | sort -u | $DMENU -nb \#303030 -nf khaki -sb \#CCFFAA -sf \#303030`
goto=`grep $TAG $file | awk '{print $1}' | $DMENU $COLORS`
[ -n "$goto" ] && echo "uri $goto" | socat - unix-connect:$5
bookmark_with_tags_for_folders.txt · Last modified: 2016/08/31 14:10 (external edit)