From cb328308bc7375de7f8b695761e56d237a9e1304 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 20 Mar 2019 16:31:14 +0100 Subject: Created showURLimage.sh --- showURLimage.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 showURLimage.sh 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" -- cgit v1.2.1