diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-03-20 16:31:14 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-03-20 16:31:14 +0100 |
commit | cb328308bc7375de7f8b695761e56d237a9e1304 (patch) | |
tree | d62802a014cfd535f2bcd8d7a0dba82b2f572a7f | |
parent | e700d2c0a4f75ae2875d0586887636fb3308762a (diff) | |
download | scripts-cb328308bc7375de7f8b695761e56d237a9e1304.tar.gz scripts-cb328308bc7375de7f8b695761e56d237a9e1304.zip |
Created showURLimage.sh
-rwxr-xr-x | showURLimage.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/showURLimage.sh b/showURLimage.sh new file mode 100755 index 0000000..9ad0a6d --- /dev/null +++ b/showURLimage.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# 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" |