Skip to content

Commit

Permalink
README: add repology badge, move install section
Browse files Browse the repository at this point in the history
  • Loading branch information
9ary committed Nov 23, 2023
1 parent d8b2072 commit 8a49966
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ Features:
- Supports selections by window ID and geometry
- *On average, shotgun is more than twice as fast as maim*

## Installation

[![Packaging status](https://repology.org/badge/vertical-allrepos/shotgun.svg)](https://repology.org/project/shotgun/versions)

From source:
- install a recent Rust toolchain
- clone this repository and run `cargo install --path .`
- or install from [crates.io](https://crates.io/crates/shotgun):
`cargo install shotgun`

## Usage

```
Expand Down Expand Up @@ -145,14 +155,3 @@ Summary
'shotgun -f pam - | convert - jpg:- > /dev/null' ran
1.71 ± 0.03 times faster than 'shotgun -f png - | convert - jpg:- > /dev/null'
```

## Installation

- From source:
- install a recent Rust toolchain
- clone this repository and run `cargo install --path .`
- or install from [crates.io](https://crates.io/crates/shotgun):
`cargo install shotgun`
- [Arch Linux](https://www.archlinux.org/packages/?name=shotgun): `pacman -S shotgun`
- [Nix/NixOS](https://github.com/NixOS/nixpkgs-channels/blob/nixos-unstable/pkgs/tools/graphics/shotgun/default.nix): `nixpkgs.shotgun`
- Other distros: make a pull request to add your package or build script!

0 comments on commit 8a49966

Please sign in to comment.