From 38110ef852373765de0c738aa54587b9ee640389 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Tue, 29 Oct 2019 19:51:58 +0100 Subject: Random changes. --- showURLimage.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'showURLimage.sh') diff --git a/showURLimage.sh b/showURLimage.sh index 9ad0a6d..2d5b485 100755 --- a/showURLimage.sh +++ b/showURLimage.sh @@ -2,6 +2,6 @@ # Downloads an url to /tmp and opens it with sxiv. -filename=/tmp/showURLimage$(date +%H%M%S) -curl $1 > $filename -sxiv -b -N sxivfloat $filename || notify-send "No image found at $1" +filename="/tmp/showURLimage$(date +%H%M%S)" +curl "$1" > "$filename" +sxiv -b -N "sxivfloat" "$filename" || notify-send "No image found at $1" -- cgit v1.2.1