slightly enhanced launchfirebird.sh

Jan Eidtmann cmak_ at t-online.de
Fri Dec 12 03:13:56 GMT 2003


Hi,
i enhanced the launchmozilla.sh a bit so you can call it with an url as 
argument, if no argument is given it defaults to some url.

------start
#!/bin/sh
URL=${1:-http://www.lunar-linux.org}
FB=/opt/lunar/firebird/bin/MozillaFirebird
`$FB -remote "ping()"`

case "$?" in
0 ) `$FB -remote "openurl($URL,new-window)"`;;
* ) `$FB $URL`;;
esac
-------end

good for xchat url handlers:
!launchfirebird.sh %s

cmak



More information about the lunar mailing list