changeset 419:bbce01a58cd0

Added browser selection script
author unexist
date Thu, 15 Mar 2012 16:49:58 +0100
parents bc7f4c4d2792
children 19b5ce70476f
files .urxvt/browser.sh
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.urxvt/browser.sh	Thu Mar 15 16:49:58 2012 +0100
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [ "`pidof firefox`" ]; then
+  firefox -P default -new-tab $1
+elif [ "`pidof chromium`" ]; then
+  chromium -new-tab $1
+fi