summaryrefslogtreecommitdiff
path: root/desktop/scripts/mozwrapper.sh
blob: 89b6415358beaba29ae73e022814a87bc918be5b (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# if mozilla is not found, specify full path here
MOZILLA=mozilla

if ${MOZILLA} -remote "openURL($1,new-window)" 2>&1 | egrep -si "not running on display"; then
    ${MOZILLA} $1
fi