aboutsummaryrefslogtreecommitdiff
path: root/showURLimage.sh
blob: 9ad0a6d21a3da7bc6c2c259118ea75c7833d325d (plain)
1
2
3
4
5
6
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"