From 4a51ba24c1ef4bd2612a44b095a27b12b862abb2 Mon Sep 17 00:00:00 2001 From: louie Date: Sun, 21 Feb 2021 19:49:40 -0800 Subject: Added download to /tmp/ --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 34d5e44..88b4956 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,14 @@ pkg-screenshot is a shell script that can display preview screenshots of package ## Prerequisites -pkg-screenshot requires **jq** to parse the json provided at `https://screenshots.debian.net/json/package/PACKAGENAME` and **xdg-open** to open the image URL +pkg-screenshot requires **wget** to download screenshots, **jq** to parse the json provided at `https://screenshots.debian.net/json/package/PACKAGENAME` and **xdg-open** to open the image file (saved to the /tmp/ directory) ## Usage ``` -pkg-screenshot.sh package +pkg-screenshot.sh [options] package ``` + +### Options + +**--no-download** - Open the image URL instead of saving an image file in /tmp/ -- cgit