On 18/09/2009, Pinocchio <cchino...@gmail.com> wrote: > > You mean something like https://addons.mozilla.org/en-US/firefox/addon/5890 > > It would be interesting to generalize this (automatically, of course) to a > wm.
I love that addon and it's the main thing I miss about firefox. Last night I put together a simple browsing 'tab' list with vertical dmenu, surf, and a shell script. It's a modified version of a bookmarks loading script I found somewhere for uzbl. #!/bin/bash if [ -f $HOME/.dmenurc ]; then . $HOME/.dmenurc else DMENU="dmenu -i" fi surfid=`cat ~/.surfid` tabs=~/.tabs tabstmp=~/.tabstmp link=`cat $tabs | $DMENU` || exit 0 if [ "$$" -ne "0" ]; then grep -v $link $tabs > $tabstmp mv $tabstmp $tabs xprop -id $surfid -f _SURF_URL 8t -set _SURF_URL $link & fi I hate shell scripting so this is kind of ugly. Links are added to the list by copying them to the clipboard and using gselt to append them to the tabs file. It works alright for my purposes, it even has persistance. - Jessta -- ===================== http://jessta.id.au Melbourne Wireless Node: GNE