ref: 4b6abae836418ce0587355cd9c062a0224687524 dotfiles/bin/xdg-open -rwxr-xr-x 146 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
case "${1%%:*}" in
	http|https)
		exec qutebrowser "$1"
		;;
	mailto)
		exec aerc "$1"
		;;
	*)
		exec /usr/bin/xdg-open "$@"
		;;
esac