rofi-browsermenu: don't open browser if no urls

This commit is contained in:
Henrik Lissner 2019-12-09 02:55:41 -05:00
parent 33868cd3d3
commit 65be30feec
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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