blob: e87c35edc23460045e0880d9defc3f36f3f61263 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# Courtesy of https://drewdevault.com/2019/12/30/dotfiles.html
case "${1%%:*}" in
http|https|*.pdf)
exec qutebrowser "$1"
;;
mailto)
exec aerc "$1"
;;
*)
exec /usr/bin/xdg-open "$@"
;;
esac
|