summaryrefslogtreecommitdiffstats
path: root/urxvt-link.sh
blob: ec49820a03c94b6aac1bb92455bf646cfd21382f (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
echo -n "$1" | nohup >/dev/null 2>&1 xclip

if [[ $1 =~ http://(www.)?youtube.com/* ]]; then
	chromium "$1"
else
	firefox "$1"
fi