1234567891011121314151617181920212223 |
- #!/bin/bash
-
- . <(ffoom init)
-
- ffoo import config
- ffoo import core
- ffoo import 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"
|