bin/xdg-open
#!/bin/sh case "${1%%:*}" in http|https) exec firefox "$1" ;; *.pdf) exec zathura "$1" ;; *) exec /usr/bin/xdg-open "$@" ;; esac