rofi-browsermenu: don't open browser if no urls
This commit is contained in:
parent
33868cd3d3
commit
65be30feec
|
@ -15,7 +15,7 @@ _do_rofi() {
|
||||||
url=${url%</i>*}
|
url=${url%</i>*}
|
||||||
url=${url##*<i>}
|
url=${url##*<i>}
|
||||||
echo $url
|
echo $url
|
||||||
done | xargs $BROWSER
|
done | xargs -r $BROWSER
|
||||||
}
|
}
|
||||||
|
|
||||||
case ${BROWSER:-firefox} in
|
case ${BROWSER:-firefox} in
|
||||||
|
|
Loading…
Reference in a new issue