#!/bin/bash . <(ffoom init) FFOO_INI_PATH="__SATURNIN_INI_PATH__" # needed for www.find_uri ffoo import ini ffoo import www ffoo import xorg debug "\$@=$@" test -z "$uri" && uri="$(echo "$@" | find_uri)" test -z "$uri" && uri="$(clipln | find_uri)" test -z "$uri" && uri="$(iniread -p www.bookmark.default)" #test -z "$uri" && uri="http://www.example.com/" echo $uri