small pixel drawing of a pufferfish dotfiles

bin/xdg-open

1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh
case "${1%%:*}" in
    http|https)
        exec firefox "$1"
        ;;
    *.pdf)
        exec zathura "$1"
        ;;
    *)
        exec /usr/bin/xdg-open "$@"
        ;;
esac