diff options
author | Per Olofsson <pelle@debian.org> | 2015-11-03 20:34:44 +0100 |
---|---|---|
committer | Per Olofsson <pelle@debian.org> | 2015-11-03 20:34:44 +0100 |
commit | e6db37b89d90c10b31474ee8fbe4b24f77bb7c99 (patch) | |
tree | 065c2f98e80ca6d02ee92c11a48d129aa9d6623b /scripts/xdg-email.in | |
parent | ef8a58be4049697bb6347c3c5b8fff4d2b2deb86 (diff) |
Check for $WAYLAND_DISPLAY as well as $DISPLAY.
Diffstat (limited to 'scripts/xdg-email.in')
-rw-r--r-- | scripts/xdg-email.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xdg-email.in b/scripts/xdg-email.in index 2819e28..9d1701d 100644 --- a/scripts/xdg-email.in +++ b/scripts/xdg-email.in @@ -433,7 +433,7 @@ fi # if BROWSER variable is not set, check some well known browsers instead if [ x"$BROWSER" = x"" ]; then BROWSER=www-browser:links2:elinks:links:lynx:w3m - if [ -n "$DISPLAY" ]; then + if has_display; then BROWSER=x-www-browser:firefox:iceweasel:seamonkey:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER fi fi |