summaryrefslogtreecommitdiff
path: root/url_handler.sh
blob: 858a8fbffa3e05e6029d198428c62accd9b65bf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
echo $1

case $1 in 
	*youtube.com*) yt.sh $1 ;;
	*youtu.be*) yt.sh $1 ;;
	*mailto*) mutt $1 ;;
	*) $BROWSER $1 ;;
esac