Lots of bin changes

This commit is contained in:
Jonathan Hodgson 2020-01-04 13:21:05 +00:00
parent 0f80079368
commit 55a7d2da4f
12 changed files with 258 additions and 44 deletions

View file

@ -10,4 +10,5 @@ else
json=$(curl https://xkcd.com/$comic/info.0.json 2> /dev/null)
fi
echo $json | /usr/bin/jq -C
echo $json | /usr/bin/jq ".img" | xargs sxiv
echo $json | /usr/bin/jq ".img" | xargs curl -s -o /tmp/xkcd
sxiv /tmp/xkcd