#!/bin/bash . <(ffoom init) ffoo import config ffoo import core ffoo import saturnin_www clipln() { # # Print primary clipboard and \n # xclip -o -selection primary 2>/dev/null echo "" } debug "\$@=$@" test -z "$uri" && uri="$(echo "$@" | find_uri)" test -z "$uri" && uri="$(clipln | find_uri)" test -z "$uri" && uri="$(cfgrep -p www.bookmark.default)" echo "$uri"