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