summaryrefslogblamecommitdiff
path: root/url_handler.sh
blob: 931fce6be14ee1686f54827c83e3ab1524a2bc38 (plain) (tree)
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*) echo Mail ;;
	*) $BROWSER $1 ;;
esac