Tidies bin folder and adds open-ports script

This commit is contained in:
Jonathan Hodgson 2019-09-12 21:30:29 +01:00
parent 62e95a50ef
commit a313b122ab
5 changed files with 13 additions and 42 deletions

View file

@ -10,4 +10,4 @@ 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 feh
echo $json | /usr/bin/jq ".img" | xargs sxiv