diff options
Diffstat (limited to 'showURLimage.sh')
-rwxr-xr-x | showURLimage.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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" |