diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-10-29 19:51:58 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-10-29 19:51:58 +0100 |
commit | 38110ef852373765de0c738aa54587b9ee640389 (patch) | |
tree | ddab8ea8b2338235b969d90665d1cd3fcc668cae /showURLimage.sh | |
parent | 756f1c152ef3ca8f34a6f419b19b3ac254a5ada2 (diff) | |
download | scripts-38110ef852373765de0c738aa54587b9ee640389.tar.gz scripts-38110ef852373765de0c738aa54587b9ee640389.zip |
Random changes.
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" |