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