commit cc51370bd4b386f9c5008e653db06928ae9c7dfc
parent 8d81abbeec630cce53388f3a0d6a9370af12eef8
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 6 May 2020 09:08:31 +0200
Add correct test primary
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/comic b/.local/bin/comic
@@ -32,7 +32,7 @@ case "$url" in
esac
xdg-open "$f"
-[ ! -z "$alttext" ] && \
+[ -n "$alttext" ] && \
notify-send "${0##*/}" "$(printf '%s' "$alttext" | w3m -dump -T text/html)"
sleep 1
rm "$f"