summaryrefslogtreecommitdiff
path: root/README.md
blob: 34d5e44e227d979d3344101fc5054c7415ca5a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# pkg-screenshot

pkg-screenshot is a shell script that can display preview screenshots of packages using xdg-open. Screenshots are provided by screenshots.debian.net, so the package must exist in the Debian repositories. Please note that not all packages have screenshots available to preview.

## 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

## Usage

```
pkg-screenshot.sh package
```