aboutsummaryrefslogtreecommitdiff
path: root/bin/xgo
diff options
context:
space:
mode:
Diffstat (limited to 'bin/xgo')
-rwxr-xr-xbin/xgo6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/xgo b/bin/xgo
index bdfcc402..e808027c 100755
--- a/bin/xgo
+++ b/bin/xgo
@@ -17,6 +17,9 @@ for url ; do (
;;
esac
+ # Get the MIME type data
+ mt=$(urlmt "$url")
+
# If the MIME type is an image, load it in feh(1)
case $mt in
image/gif) ;;
@@ -25,9 +28,6 @@ for url ; do (
;;
esac
- # Get the MIME type data
- mt=$(urlmt "$url")
-
# Otherwise, just pass it to br(1)
br "$url"
) & done