From d2a44efbe707b7210107fabce58fb99c1a3b251e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 10 Jul 2011 21:46:09 +0200 Subject: mass commit Signed-off-by: Florian Pritz --- urxvt-link.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'urxvt-link.sh') diff --git a/urxvt-link.sh b/urxvt-link.sh index 9db1107..ec49820 100755 --- a/urxvt-link.sh +++ b/urxvt-link.sh @@ -1,3 +1,8 @@ -#!/bin/sh +#!/bin/bash echo -n "$1" | nohup >/dev/null 2>&1 xclip -firefox "$1" + +if [[ $1 =~ http://(www.)?youtube.com/* ]]; then + chromium "$1" +else + firefox "$1" +fi -- cgit v1.2.3-24-g4f1b